b/o fix in parser
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2404 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -150,7 +150,7 @@ Credits_RenderTextFrame (CONTEXT TempContext, int *istr, int dir,
|
|||||||
if (!pStr || *pStr == '\0')
|
if (!pStr || *pStr == '\0')
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (2 != sscanf (pStr, "%d %32s %n", &size, salign, &scaned)
|
if (2 != sscanf (pStr, "%d %31s %n", &size, salign, &scaned)
|
||||||
|| size <= 0)
|
|| size <= 0)
|
||||||
return 0;
|
return 0;
|
||||||
pStr += scaned;
|
pStr += scaned;
|
||||||
|
|||||||
Reference in New Issue
Block a user