diff options
author | Paul Gilbert | 2012-01-20 22:28:13 +1100 |
---|---|---|
committer | Strangerke | 2012-04-06 08:20:23 +0200 |
commit | 84ef8f5a7f8b5f35e105ed908d96c56d9d17f2d9 (patch) | |
tree | ea6fcf956f006db18f1d2866b4379ea35d8dc08f /engines | |
parent | f5af2b407c12c39d7e0855413fb1fb2ce7dff354 (diff) | |
download | scummvm-rg350-84ef8f5a7f8b5f35e105ed908d96c56d9d17f2d9.tar.gz scummvm-rg350-84ef8f5a7f8b5f35e105ed908d96c56d9d17f2d9.tar.bz2 scummvm-rg350-84ef8f5a7f8b5f35e105ed908d96c56d9d17f2d9.zip |
MORTEVIELLE: Formatting fix for savegame list
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mortevielle/menu.cpp | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/engines/mortevielle/menu.cpp b/engines/mortevielle/menu.cpp index 11c7c34b00..b14aacf4fa 100644 --- a/engines/mortevielle/menu.cpp +++ b/engines/mortevielle/menu.cpp @@ -295,12 +295,22 @@ void menu_down(int ii) { case 6 : writeg(fic[cx], 4); break; - case 7 : - writeg(fic[1] + ' ' + chr(48 + cx), 4); + case 7 : { + Common::String s = fic[1]; + s += ' '; + s += (char)(48 + cx); + writeg(s, 4); break; + } case 8 : - if (cx == 1) writeg(recom, 4); - else writeg(fic[2] + ' ' + chr(47 + cx), 4); + if (cx == 1) + writeg(recom, 4); + else { + Common::String s = fic[2]; + s += ' '; + s += (char)(47 + cx); + writeg(s, 4); + } break; } putxy(xco, ywhere + 8); |