[sword-svn] r2057 - trunk/include

scribe at www.crosswire.org scribe at www.crosswire.org
Tue Jul 3 13:51:33 MST 2007


Author: scribe
Date: 2007-07-03 13:51:33 -0700 (Tue, 03 Jul 2007)
New Revision: 2057

Modified:
   trunk/include/stringmgr.h
Log:
Better fix for toupperstr


Modified: trunk/include/stringmgr.h
===================================================================
--- trunk/include/stringmgr.h	2007-07-03 20:42:38 UTC (rev 2056)
+++ trunk/include/stringmgr.h	2007-07-03 20:51:33 UTC (rev 2057)
@@ -88,9 +88,7 @@
 };
 
 inline char *toupperstr(char *t, unsigned int max = 0) {
-	return (StringMgr::hasUTF8Support())
-		? StringMgr::getSystemStringMgr()->upperUTF8(t, max)
-		: StringMgr::getSystemStringMgr()->upperLatin1(t, max);
+	return StringMgr::getSystemStringMgr()->upperUTF8(t, max);
 }
 	
 inline char *toupperstr_utf8(char *t, unsigned int max = 0) {




More information about the sword-cvs mailing list