diff options
-rw-r--r-- | engines/agi/savegame.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/agi/savegame.cpp b/engines/agi/savegame.cpp index c9c0de584b..dea7977e5d 100644 --- a/engines/agi/savegame.cpp +++ b/engines/agi/savegame.cpp @@ -611,7 +611,14 @@ static int select_slot() { while (42) { char dstr[64]; for (i = 0; i < NUM_SLOTS; i++) { +#ifndef PALMOS_68K sprintf(dstr, "[%-32.32s]", desc[i]); +#else + dstr[0] = '['; + memcpy(dstr + 1, desc[i], 32); + dstr[33] = ']'; + dstr[34] = 0; +#endif _text->print_text(dstr, 0, hm + 1, vm + 4 + i, (40 - 2 * hm) - 1, i == active ? MSG_BOX_COLOUR : MSG_BOX_TEXT, i == active ? MSG_BOX_TEXT : MSG_BOX_COLOUR); |