From: Philip Chimento 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-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=08f91ed533b4e0634d482ec1af638b5288ef9d6c;p=rodin%2Fchimara.git Gestalt selector claimed we couldn't print unicode characters, but we can git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@120 ddfedd41-794f-dd11-ae45-00112f111e67 --- 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 */