diff options
author | 2012-02-17 15:55:54 -0800 | |
---|---|---|
committer | 2012-02-17 15:55:54 -0800 | |
commit | 8f1423946fd3ab9d5bca168de7fb12b9c397b034 (patch) | |
tree | 68031b5db0c159b8a4223f8c89b0d86fb2bf61d6 /parse_util.cpp | |
parent | 51da4856e2ff124d8d5ad7a4a6ca844c81825133 (diff) |
Fix a crash when using quotes due to wgettext thread safety issues.
Diffstat (limited to 'parse_util.cpp')
-rw-r--r-- | parse_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse_util.cpp b/parse_util.cpp index 7b3781d5..e2fc9fcb 100644 --- a/parse_util.cpp +++ b/parse_util.cpp @@ -523,7 +523,7 @@ void parse_util_token_extent( const wchar_t *buff, DIE_MEM(); } - for( tok_init( &tok, buffcpy, TOK_ACCEPT_UNFINISHED ); + for( tok_init( &tok, buffcpy, TOK_ACCEPT_UNFINISHED | TOK_SQUASH_ERRORS ); tok_has_next( &tok ); tok_next( &tok ) ) { |