diff GUIFont.h @ 189:038a4d09406f

new texts file, fix text rendender error
author Gloval
date Sat, 16 Feb 2013 00:33:21 +0400
parents c5bd7a825ef2
children c0bfb386b15f
line wrap: on
line diff
--- a/GUIFont.h	Fri Feb 15 19:46:25 2013 +0600
+++ b/GUIFont.h	Sat Feb 16 00:33:21 2013 +0400
@@ -17,7 +17,7 @@
 {
 	
 //----- (0044C4DE) --------------------------------------------------------
-  bool IsCharValid(char c) {	return (c >= cFirstChar) && (c <= cLastChar) || (c == '\f') || (c == '\r') || (c == '\t') || (c == '\n');}
+  bool IsCharValid(unsigned char c) {	return (c >= cFirstChar) && (c <= cLastChar) || (c == '\f') || (c == '\r') || (c == '\t') || (c == '\n');}
   int AlignText_Center(unsigned int uCenterX, const char *pString);
   int GetLineWidth(const char *pString);
   int CalcTextHeight(const char *pString, struct GUIWindow *pWindow, int a4, int a5);