diff options
Diffstat (limited to 'tools/preproc/string_parser.cpp')
-rw-r--r-- | tools/preproc/string_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/preproc/string_parser.cpp b/tools/preproc/string_parser.cpp index b383f2f4f..dd5196a44 100644 --- a/tools/preproc/string_parser.cpp +++ b/tools/preproc/string_parser.cpp @@ -186,7 +186,7 @@ int StringParser::ParseString(long srcPos, unsigned char* dest, int& destLength) for (const char& c : sequence) { if (destLength == kMaxStringLength) - RaiseError("mapped string longer than %d bytes", destLength); + RaiseError("mapped string longer than %d bytes", kMaxStringLength); dest[destLength++] = c; } |