diff options
author | Chris Warren-Smith | 2011-08-18 22:51:07 +1000 |
---|---|---|
committer | Chris Warren-Smith | 2011-08-21 16:39:09 +1000 |
commit | 68f2ec53f728fdfe3912517df0e13f11d90d8a92 (patch) | |
tree | f017e935b4df65a93f0cfac66adca806034e27e0 /backends/platform/bada | |
parent | f01882a6e0bedce7c7d4411ba956681d7e3aa163 (diff) | |
download | scummvm-rg350-68f2ec53f728fdfe3912517df0e13f11d90d8a92.tar.gz scummvm-rg350-68f2ec53f728fdfe3912517df0e13f11d90d8a92.tar.bz2 scummvm-rg350-68f2ec53f728fdfe3912517df0e13f11d90d8a92.zip |
BADA: Fix to return correct integer values
Diffstat (limited to 'backends/platform/bada')
-rwxr-xr-x | backends/platform/bada/sscanf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/bada/sscanf.cpp b/backends/platform/bada/sscanf.cpp index ddf7eafe94..8eab3ee5d1 100755 --- a/backends/platform/bada/sscanf.cpp +++ b/backends/platform/bada/sscanf.cpp @@ -31,7 +31,7 @@ //
bool scanInt(const char **in, va_list *ap, int max) {
- while (**in && **in == ' ') {
+ while (**in && (**in == ' ' || **in == '0')) {
(*in)++;
}
|