From 27a9108e36c69a76fe058441da7d655ad6920a93 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 19 May 2008 21:04:49 +0000 Subject: Fixed max text line length for French version in HoF. svn-id: r32186 --- engines/kyra/text_hof.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/kyra') diff --git a/engines/kyra/text_hof.cpp b/engines/kyra/text_hof.cpp index 0d40827390..dd587c5112 100644 --- a/engines/kyra/text_hof.cpp +++ b/engines/kyra/text_hof.cpp @@ -107,8 +107,7 @@ char *TextDisplayer_HoF::preprocessString(const char *str) { 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)) { -- cgit v1.2.3