diff --git a/src/ruc/json/parser.cpp b/src/ruc/json/parser.cpp index 83dc2da..45a2a2c 100644 --- a/src/ruc/json/parser.cpp +++ b/src/ruc/json/parser.cpp @@ -266,7 +266,7 @@ Value Parser::consumeString() break; default: char buffer[7]; - sprintf(buffer, "\\u%0.4X", character); + sprintf(buffer, "\\u%.4X", character); return std::string(buffer); break; }