[Scummvm-cvs-logs] SF.net SVN: scummvm: [32623] scummvm/trunk/engines/drascula/graphics.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Mon Jun 9 00:11:19 CEST 2008


Revision: 32623
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32623&view=rev
Author:   sev
Date:     2008-06-08 15:11:18 -0700 (Sun, 08 Jun 2008)

Log Message:
-----------
Restore apostrophe hack.

Modified Paths:
--------------
    scummvm/trunk/engines/drascula/graphics.cpp

Modified: scummvm/trunk/engines/drascula/graphics.cpp
===================================================================
--- scummvm/trunk/engines/drascula/graphics.cpp	2008-06-08 21:59:12 UTC (rev 32622)
+++ scummvm/trunk/engines/drascula/graphics.cpp	2008-06-08 22:11:18 UTC (rev 32623)
@@ -270,13 +270,13 @@
 			signY = 40;
 		}
 
-		int c = toupper(said[h]);
+		byte c = toupper(said[h]);
 
 		// WORKAROUND: Even original did not process it correctly
 		// Fixes apostrophe rendering
 		if (_lang != kSpanish)
 			if (c == '\'')
-				c = '\244';
+				c = (byte)'\244';
 
 		for (int i = 0; i < _charMapSize; i++) {
 			if (c == _charMap[i].inChar) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list