summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2013-09-25 21:09:00 +0000
committerGreg Ercolano <erco@seriss.com>2013-09-25 21:09:00 +0000
commita8417b6eb8e78937e91c726b4666d7e967521128 (patch)
treec950325f21d6c3e85a0513664c26976df0d396c9 /src
parentce0e298a8afa280d659a75ed308b2da9b2e45451 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/xutf8/utf8Wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xutf8/utf8Wrap.c b/src/xutf8/utf8Wrap.c
index 541b8c371..5d498f449 100644
--- a/src/xutf8/utf8Wrap.c
+++ b/src/xutf8/utf8Wrap.c
@@ -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) {