From: fliep Date: Sat, 12 Sep 2009 09:47:27 +0000 (+0000) Subject: Gestalt selector claimed we couldn't print unicode characters, but we can X-Git-Tag: v0.9~345 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=e0c5d896646b95cc5dc6ed57ee3b75a2063c83d1;p=projects%2Fchimara%2Fchimara.git Gestalt selector claimed we couldn't print unicode characters, but we can --- diff --git a/libchimara/gestalt.c b/libchimara/gestalt.c index 398aede..1729a87 100644 --- a/libchimara/gestalt.c +++ b/libchimara/gestalt.c @@ -90,10 +90,10 @@ glk_gestalt_ext(glui32 sel, glui32 val, glui32 *arr, glui32 arrlen) /* All characters are printed as one character, in any case */ if(arr && arrlen > 0) *arr = 1; - /* Cannot print control chars except \n, or chars > 255 */ - if( (val < 32 && val != 10) || (val >= 127 && val <= 159) || (val > 255) ) + /* Cannot print control chars except \n */ + if( (val < 32 && val != 10) || (val >= 127 && val <= 159) ) return gestalt_CharOutput_CannotPrint; - /* Can print all other Latin-1 characters */ + /* Can print all other characters */ return gestalt_CharOutput_ExactPrint; /* Unicode capabilities present */