]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unichar.h
no changes, just refactoring: extracted the code to update the column indices array...
[wxWidgets.git] / include / wx / unichar.h
index 8503c41992bfc518fec780b2c9fc65726de8a0fc..9d0b593bd7918065be26e0ae3008b7d9329d9abb 100644 (file)
@@ -155,7 +155,7 @@ private:
     {
 #if wxUSE_UNICODE
         if ( c < 0x80 )
-            return c;
+            return wx_truncate_cast(char, c);
 
         return ToHi8bit(c);
 #else