diff options
author | Marcus Comstedt | 2003-11-26 21:44:58 +0000 |
---|---|---|
committer | Marcus Comstedt | 2003-11-26 21:44:58 +0000 |
commit | 584760fc707eafde1119fecf4b12fe105dad3cf8 (patch) | |
tree | 21875bf5c080d2a73591ed7fb4d74daba896dd46 /queen | |
parent | 02bc1da9b43df3508bf6229ef5be5ece7a0ecaae (diff) | |
download | scummvm-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.cpp | 2 |
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); |