Mercurial > hg > xemacs-beta
view lib-src/installexe.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 | 3ee1c468b215 |
children | 8a653fbe5c27 |
line wrap: on
line source
#!bash install_prog=$1 shift tstr="" while [[ $# -gt 0 ]] do if [[ -f $1.exe ]] then if [[ "$2" == *.exe ]] then tstr="$tstr$1 $2" else tstr="$tstr$1.exe $2.exe" fi shift 2 else tstr="$tstr$1 " fi shift done echo "$install_prog $tstr" eval "$install_prog $tstr" exit