aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackends/platform/bada/sscanf.cpp2
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)++;
}