[Scummvm-cvs-logs] SF.net SVN: scummvm: [32186] scummvm/trunk/engines/kyra/text_hof.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon May 19 23:04:50 CEST 2008
Revision: 32186
http://scummvm.svn.sourceforge.net/scummvm/?rev=32186&view=rev
Author: lordhoto
Date: 2008-05-19 14:04:49 -0700 (Mon, 19 May 2008)
Log Message:
-----------
Fixed max text line length for French version in HoF.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/text_hof.cpp
Modified: scummvm/trunk/engines/kyra/text_hof.cpp
===================================================================
--- scummvm/trunk/engines/kyra/text_hof.cpp 2008-05-19 20:59:51 UTC (rev 32185)
+++ scummvm/trunk/engines/kyra/text_hof.cpp 2008-05-19 21:04:49 UTC (rev 32186)
@@ -107,8 +107,7 @@
int textWidth = _screen->getTextWidth(p);
_screen->_charWidth = 0;
- // longer text strings for German versions
- int maxTextWidth = (_vm->language() == 2 ? 240 : 176);
+ int maxTextWidth = (_vm->language() == 0) ? 176 : 240;
if (textWidth > maxTextWidth) {
if (textWidth > (maxTextWidth*2)) {
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