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

core-c: fix ParserIsFormat

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/foundation_src@793 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++];
i=j;
if (!stscanf_s(tBuffer,&i,Token,Value))
break;
......
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