Commit 3425127d authored by Steve Lhomme's avatar Steve Lhomme

core-c: fix ParserIsFormat

git-svn-id: a6f86f6d-0131-4f8e-9e7b-e335508773d5
parent be23d686
......@@ -395,7 +395,7 @@ NOINLINE bool_t ParserIsFormat(parser* p,const tchar_t* Token, void *Value)
if (Read>=Write)
return 0;
tBuffer[j++] = (tchar_t)*p->Buffer.Read;
tBuffer[j] = (tchar_t)p->Buffer.Read[j++];
if (!stscanf_s(tBuffer,&i,Token,Value))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment