Skip to content

Commit

Permalink
Apply Michael Baeuerle's fix for NetBSD
Browse files Browse the repository at this point in the history
(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
  • Loading branch information
erco77 committed Sep 25, 2013
1 parent ce0e298 commit a8417b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xutf8/utf8Wrap.c
Expand Up @@ -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) {
Expand Down

0 comments on commit a8417b6

Please sign in to comment.