aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFlorian Kagerer2009-11-17 16:26:40 +0000
committerFlorian Kagerer2009-11-17 16:26:40 +0000
commit99111a75c1b8a7df05a05cad53867c43918a1217 (patch)
treec7c2a33a10f0034cdc4881420866b674b1a9085b /engines
parentd6ad3c51aa444c5a6e673fe0c071a11360deca73 (diff)
downloadscummvm-rg350-99111a75c1b8a7df05a05cad53867c43918a1217.tar.gz
scummvm-rg350-99111a75c1b8a7df05a05cad53867c43918a1217.tar.bz2
scummvm-rg350-99111a75c1b8a7df05a05cad53867c43918a1217.zip
KYRA: fixed save menu glitch in Japanese versions
svn-id: r45956
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/gui_lok.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/kyra/gui_lok.cpp b/engines/kyra/gui_lok.cpp
index 5a0c0034e1..2f79bb1d46 100644
--- a/engines/kyra/gui_lok.cpp
+++ b/engines/kyra/gui_lok.cpp
@@ -741,6 +741,8 @@ int GUI_LoK::saveGame(Button *button) {
_displaySubMenu = true;
_cancelSubMenu = false;
+ Screen::FontId cf = _screen->setFont(Screen::FID_8_FNT);
+
if (_savegameOffset == 0 && _vm->_gameToLoad == 0) {
_savegameName[0] = 0;
} else {
@@ -753,9 +755,13 @@ int GUI_LoK::saveGame(Button *button) {
}
redrawTextfield();
+ _screen->setFont(cf);
+
while (_displaySubMenu && !_vm->shouldQuit()) {
checkTextfieldInput();
+ cf = _screen->setFont(Screen::FID_8_FNT);
updateSavegameString();
+ _screen->setFont(cf);
processHighlights(_menu[3]);
}