Explorar o código

Fehler im JSONParser behoben

kolja %!s(int64=6) %!d(string=hai) anos
pai
achega
d4f1efb062
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      JSON.cpp

+ 1 - 1
JSON.cpp

@@ -359,7 +359,7 @@ Text Parser::removeWhitespace( const char *str )
 
 JSONValue Parser::getValue( const char *str )
 {
-    Text string( str );
+    Text string = Parser::removeWhitespace( str );
     if( string.istGleich( "true" ) )
         return JSONBool( 1 );
     if( string.istGleich( "false" ) )