Explorar el Código

Fehler im JSONParser behoben

kolja hace 5 años
padre
commit
d4f1efb062
Se han modificado 1 ficheros con 1 adiciones y 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" ) )