[Scummvm-cvs-logs] SF.net SVN: scummvm: [22721] residual/trunk/font.cpp
aquadran at users.sourceforge.net
aquadran at users.sourceforge.net
Sun May 28 08:02:04 CEST 2006
Revision: 22721
Author: aquadran
Date: 2006-05-28 08:01:16 -0700 (Sun, 28 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22721&view=rev
Log Message:
-----------
applied patch #1495110
Modified Paths:
--------------
residual/trunk/font.cpp
Modified: residual/trunk/font.cpp
===================================================================
--- residual/trunk/font.cpp 2006-05-28 13:28:10 UTC (rev 22720)
+++ residual/trunk/font.cpp 2006-05-28 15:01:16 UTC (rev 22721)
@@ -1,4 +1,4 @@
-/* Residual - Virtual machine to run LucasArts' 3D adventure games
+/* Residual - Virtual machine to run LucasArts' 3D adventure games
* Copyright (C) 2003-2006 The ScummVM-Residual Team (www.scummvm.org)
*
* This library is free software; you can redistribute it and/or
@@ -101,8 +101,13 @@
// for the first time and he says "Buenos Días" the
// 'í' character will either show up as a different
// character or it crashes the game.
+
+ if (_charIndex[c2] == c2) {
+ return c2;
+ }
+
for (uint i = 0; i < _numChars; ++i) {
- if (_charIndex[i] == c2)
+ if (_charIndex[i] == c2)
return i;
}
if (debugLevel == DEBUG_WARN || debugLevel == DEBUG_ALL)
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