SCR_CenterPrint() has been counting the lines in the wrong place: count

the copied string NOT the original.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@607 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2012-01-13 19:10:52 +00:00
parent 9804335285
commit e6ebf96d46

View file

@ -153,6 +153,7 @@ void SCR_CenterPrint (const char *str) //update centerprint data
// count the number of lines for centering
scr_center_lines = 1;
str = scr_centerstring;
while (*str)
{
if (*str == '\n')