Fix gltich when listing saved games in Hebrew versions.

svn-id: r27229
This commit is contained in:
Travis Howell 2007-06-09 07:48:27 +00:00
parent 48601a4e70
commit 037e545dc1

View File

@ -542,20 +542,23 @@ void AGOSEngine_Simon1::listSaveGames(char *dst) {
lastSlot = slot;
if (slot < 10) {
showMessageFormat(" ");
} else if (_language == Common::HB_ISR) {
lastSlot = (slot % 10) * 10;
lastSlot += slot / 10;
}
showMessageFormat("%d", lastSlot);
if (_language == Common::HB_ISR && !(slot % 10))
showMessageFormat("0");
showMessageFormat("%d", lastSlot);
showMessageFormat(".%s\n", dst);
dst += 18;
slot++;
}
if (!_saveOrLoad) {
if (_saveLoadRowCurPos + 6 == slot)
if (_saveLoadRowCurPos + 6 == slot) {
slot++;
else {
} else {
if (slot < 10)
showMessageFormat(" ");
showMessageFormat("%d.\n", slot);