aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorMarcus Comstedt2003-11-26 21:44:58 +0000
committerMarcus Comstedt2003-11-26 21:44:58 +0000
commit584760fc707eafde1119fecf4b12fe105dad3cf8 (patch)
tree21875bf5c080d2a73591ed7fb4d74daba896dd46 /queen
parent02bc1da9b43df3508bf6229ef5be5ece7a0ecaae (diff)
downloadscummvm-rg350-584760fc707eafde1119fecf4b12fe105dad3cf8.tar.gz
scummvm-rg350-584760fc707eafde1119fecf4b12fe105dad3cf8.tar.bz2
scummvm-rg350-584760fc707eafde1119fecf4b12fe105dad3cf8.zip
Use standard functions (itoa => sprintf).
svn-id: r11378
Diffstat (limited to 'queen')
-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);