]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/encconv.cpp
fixing notebook icons for panther
[wxWidgets.git] / src / common / encconv.cpp
index e3327c909a317f18a071e3f4bcbd2fdc838878fe..68a6a6d4ebd4c19195e1b79463a4ffa1bcec4a02 100644 (file)
@@ -25,7 +25,7 @@
 #include <stdlib.h>
 
 // conversion tables, generated by scripts in $(WXWIN)/misc/unictabl:
-#ifdef __BORLANDC__
+#if defined( __BORLANDC__ ) || defined(__DARWIN__)
 #include "../common/unictabl.inc"
 #else
 #include "unictabl.inc"
@@ -71,7 +71,7 @@ static wxUint16* LINKAGEMODE GetEncTable(wxFontEncoding enc)
            char s[2] ;
            s[1] = 0 ;
            ByteCount byteInLen, byteOutLen ;
-           for( char c = 255 ; c >= 128 ; --c )
+           for( unsigned char c = 255 ; c >= 128 ; --c )
            {
                s[0] = c ;
                 status = TECConvertText(converter, (ConstTextPtr) &s , 1, &byteInLen,