aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--queen/journal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/journal.cpp b/queen/journal.cpp
index 7502710b84..c6397cab6f 100644
--- a/queen/journal.cpp
+++ b/queen/journal.cpp
@@ -226,7 +226,7 @@ void Journal::drawSaveDescriptions() {
for (i = 0; i < SAVE_PER_PAGE; ++i) {
int n = _currentSavePage * 10 + i;
char nb[4];
- itoa(n + 1, nb, 10);
+ sprintf(nb, "%d", n + 1);
int y = 9 + i * 13;
_graphics->textSet(136, y, _saveDescriptions[n], false);
_graphics->textSet(109, y + 1, nb, false);