aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unstable/json.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unstable/json.cpp b/src/unstable/json.cpp
index 3627214..cdc2a30 100644
--- a/src/unstable/json.cpp
+++ b/src/unstable/json.cpp
@@ -505,12 +505,13 @@ void Bu::Json::parseString( char &c, Bu::Stream &sInput, Bu::String &sOut )
505 { 505 {
506 if( c == '\\' ) 506 if( c == '\\' )
507 bEscape = true; 507 bEscape = true;
508 if( c == '"' ) 508 else if( c == '"' )
509 { 509 {
510 readChar( c, sInput ); 510 readChar( c, sInput );
511 break; 511 break;
512 } 512 }
513 sOut += c; 513 else
514 sOut += c;
514 } 515 }
515 } 516 }
516} 517}