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/credits.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/credits.cpp')
-rw-r--r-- | queen/credits.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/credits.cpp b/queen/credits.cpp index 2ccc4055a7..95b6cccd4f 100644 --- a/queen/credits.cpp +++ b/queen/credits.cpp @@ -93,7 +93,7 @@ void Credits::update() { break; case 'p' : - sscanf(&line[3], "%d\n", &_pause); + _pause = atoi(&line[3]); _pause *= 10; /* wait until next room */ @@ -111,7 +111,7 @@ void Credits::update() { return; case 'i' : - sscanf(&line[3], "%d\n", &_color); + _color = atoi(&line[3]); break; case '1' : |