Apply Michael Baeuerle's fix for NetBSD

(as per discussion on fltk.general Sep 24 2013, Subject: Potential problem in xutf8/utf8Wrap.c)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Greg Ercolano 2013-09-25 21:09:00 +00:00
parent ce0e298a8a
commit a8417b6eb8

View File

@ -79,7 +79,7 @@ get_font_list(
while (*ptr) {
int l = 0, i = 0;
while(isspace(*ptr)) ptr++;
while(isspace((int)(unsigned char)*ptr)) ptr++;
p = ptr;
while (*ptr && *ptr != ',') { ptr++; l++; }
if (l > 2) {