aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/interface.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2007-08-26 15:57:30 +0000
committerFilippos Karapetis2007-08-26 15:57:30 +0000
commit3ce737eb2a1f8477b389f68b81eb01f6a7280a57 (patch)
tree2180e73755721427d8850716e26e9396da6c1000 /engines/saga/interface.cpp
parentd282f32604b563ae51cccd2f49f135753f4dfc62 (diff)
downloadscummvm-rg350-3ce737eb2a1f8477b389f68b81eb01f6a7280a57.tar.gz
scummvm-rg350-3ce737eb2a1f8477b389f68b81eb01f6a7280a57.tar.bz2
scummvm-rg350-3ce737eb2a1f8477b389f68b81eb01f6a7280a57.zip
Cleanup
svn-id: r28748
Diffstat (limited to 'engines/saga/interface.cpp')
-rw-r--r--engines/saga/interface.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 00e76680fd..c73741347d 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -1154,10 +1154,9 @@ bool Interface::processTextInput(uint16 ascii) {
uint tempWidth;
memset(tempString, 0, SAVE_TITLE_SIZE);
ch[1] = 0;
- // ITE has a maximum save title size of SAVE_TITLE_SIZE (28), but IHNM has a slightly smaller
- // save title size (21). We only limit the save title size during text input, to preserve
- // backwards compatibility with older save games
- uint save_title_size = _vm->getGameType() == GType_ITE ? SAVE_TITLE_SIZE : SAVE_TITLE_SIZE - 6;
+ // IHNM has a smaller save title size than ITE. We only limit the save title size during text input
+ // in IHNM, to preserve backwards compatibility with older save games
+ uint save_title_size = _vm->getGameType() == GType_ITE ? SAVE_TITLE_SIZE : IHNM_SAVE_TITLE_SIZE;
switch (ascii) {
case 13: