From 20ca34287812a451b7921be4668816b01263a2e7 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sun, 5 Jun 2016 22:00:06 -0700 Subject: add support for .braille directive to preproc --- tools/preproc/string_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/preproc/string_parser.cpp') 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; } -- cgit v1.2.3