diff options
Diffstat (limited to 'epoc/epocish.c')
-rw-r--r-- | epoc/epocish.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/epoc/epocish.c b/epoc/epocish.c index 4963a2e5b5..a0557cc129 100644 --- a/epoc/epocish.c +++ b/epoc/epocish.c @@ -33,8 +33,12 @@ epoc_spawn( char *cmd, char *cmdline) { /* Workaround for defect atof(), see java defect list for epoc */ - double epoc_atof( const char* str) { + double epoc_atof( char* str) { TReal64 aRes; + + while (TChar( *str).IsSpace()) { + str++; + } TLex lex( _L( str)); TInt err = lex.Val( aRes, TChar( '.')); |