mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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:
parent
9804335285
commit
e6ebf96d46
1 changed files with 1 additions and 0 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue