diff options
author | Gregory Montoir | 2004-01-23 16:58:13 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-23 16:58:13 +0000 |
commit | 7bd31d615c0ee1509ca95401e5656449050aca42 (patch) | |
tree | b91c6b134c2d43dfa56ec54def9a1dee2d14c710 /queen/talk.cpp | |
parent | 7401421b1dcfa2df98738e4c5be875976070cbd8 (diff) | |
download | scummvm-rg350-7bd31d615c0ee1509ca95401e5656449050aca42.tar.gz scummvm-rg350-7bd31d615c0ee1509ca95401e5656449050aca42.tar.bz2 scummvm-rg350-7bd31d615c0ee1509ca95401e5656449050aca42.zip |
change sscanf() calls to atoi() to please PalmOS :)
svn-id: r12582
Diffstat (limited to 'queen/talk.cpp')
-rw-r--r-- | queen/talk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/talk.cpp b/queen/talk.cpp index 099b5b9b5f..99ee86d27d 100644 --- a/queen/talk.cpp +++ b/queen/talk.cpp @@ -725,7 +725,7 @@ void Talk::headStringAnimation(const SpeechParameters *parameters, int bobNum, i for (;;) { uint16 frame; - sscanf(parameters->animation + offset, "%3hu", &frame); + frame = atoi(parameters->animation + offset); if (!frame) break; @@ -772,7 +772,7 @@ void Talk::stringAnimation(const SpeechParameters *parameters, int startFrame, i for (;;) { uint16 frame; - sscanf(parameters->animation + offset, "%3hu", &frame); + frame = atoi(parameters->animation + offset); if (!frame) break; |