Browse Source

Noch ein Fehler behoben

Kolja Strohm 4 years ago
parent
commit
122291200c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      JSON.cpp

+ 1 - 1
JSON.cpp

@@ -420,7 +420,7 @@ JSONValue *Parser::getValue( const char *str )
     if( string.anzahlVon( '.' ) == 1 )
     {
         bool isNumber = 1;
-        for( char *c = string.getText(); c; c++ )
+        for( char *c = string.getText(); *c; c++ )
             isNumber &= ( *c >= '0' && *c <= '9' ) || *c == '.';
         if( isNumber )
             return new JSONNumber( string );