From a8417b6eb8e78937e91c726b4666d7e967521128 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Wed, 25 Sep 2013 21:09:00 +0000 Subject: 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 --- src/xutf8/utf8Wrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xutf8') 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) { -- cgit v1.2.3