Mercurial > hg > xemacs-beta
view etc/editclient.sh @ 4476:dbf79a1732ba
Don't try to get text width for the null font instance, mswindows
2008-07-10 Aidan Kehoe <kehoea@parhasard.net>
* redisplay-msw.c (mswindows_text_width_single_run):
Explicitly check for the null font instance, and return zero if
so. Avoids the crash documented in
http://mid.gmane.org/18473.32468.712317.149457@parhasard.net .
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Thu, 10 Jul 2008 17:05:59 +0200 |
parents | 3ecd8885ac67 |
children |
line wrap: on
line source
#!/bin/sh if gnuclient -batch -eval t >/dev/null 2>&1; then exec gnuclient ${1+"$@"} else xemacs -unmapped -f gnuserv-start & until gnuclient -batch -eval t >/dev/null 2>&1 do sleep 1 done exec gnuclient ${1+"$@"} fi