diff options
author | Martin Kiewitz | 2010-05-31 12:11:42 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-05-31 12:11:42 +0000 |
commit | a963917e89f0f4d404872473c99fd998938984b2 (patch) | |
tree | c661282b712398ff21c97cf4dd0bc0cd38ac1e37 | |
parent | 088e6456ea4d009b8ab0c91176c84dce34a8ea41 (diff) | |
download | scummvm-rg350-a963917e89f0f4d404872473c99fd998938984b2.tar.gz scummvm-rg350-a963917e89f0f4d404872473c99fd998938984b2.tar.bz2 scummvm-rg350-a963917e89f0f4d404872473c99fd998938984b2.zip |
SCI: added TODO at kReadNumber space code
svn-id: r49348
-rw-r--r-- | engines/sci/engine/kstring.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp index 90096d5c17..2ed4dfaac2 100644 --- a/engines/sci/engine/kstring.cpp +++ b/engines/sci/engine/kstring.cpp @@ -153,6 +153,8 @@ reg_t kReadNumber(EngineState *s, int argc, reg_t *argv) { while (*source) { if (*source == ' ') { source++; // skip spaces - happens in lsl3 intro + // TODO: find the cause for those spaces. ssci breaks when encountering spaces, but we even get a leading + // space in lsl3 (" -97 ") which would actually mean we need to return 0 continue; } if ((*source < '0') || (*source > '9')) { |