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:
avolkov
2006-08-08 22:45:18 +00:00
parent d93f2c1486
commit 7037f6b60a
+1 -1
View File
@@ -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;