diff options
author | Johannes Schickel | 2008-05-19 21:04:49 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-19 21:04:49 +0000 |
commit | 27a9108e36c69a76fe058441da7d655ad6920a93 (patch) | |
tree | 9e58c760c5d16673432e6f91a53a106e6c26ffc0 /engines/kyra | |
parent | b80d6aaf67902304872d4aad8369cdfa5cd7da21 (diff) | |
download | scummvm-rg350-27a9108e36c69a76fe058441da7d655ad6920a93.tar.gz scummvm-rg350-27a9108e36c69a76fe058441da7d655ad6920a93.tar.bz2 scummvm-rg350-27a9108e36c69a76fe058441da7d655ad6920a93.zip |
Fixed max text line length for French version in HoF.
svn-id: r32186
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/text_hof.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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)) { |