From 68f2ec53f728fdfe3912517df0e13f11d90d8a92 Mon Sep 17 00:00:00 2001 From: Chris Warren-Smith Date: Thu, 18 Aug 2011 22:51:07 +1000 Subject: BADA: Fix to return correct integer values --- backends/platform/bada/sscanf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/platform') 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)++; } -- cgit v1.2.3