diff --git a/tiny-json.c b/tiny-json.c index b856690..8df171c 100644 --- a/tiny-json.c +++ b/tiny-json.c @@ -130,7 +130,7 @@ static unsigned char getCharFromUnicode( unsigned char const* str ) { static char* parseString( char* str ) { unsigned char* head = (unsigned char*)str; unsigned char* tail = (unsigned char*)str; - for( ; *head >= ' '; ++head, ++tail ) { + for( ; *head; ++head, ++tail ) { if ( *head == '\"' ) { *tail = '\0'; return (char*)++head;