Procházet zdrojové kódy

Fehler im JSONParser behoben

kolja před 6 roky
rodič
revize
d4f1efb062
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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" ) )