소스 검색

Fehler im JSONParser behoben

kolja 6 년 전
부모
커밋
d4f1efb062
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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" ) )