mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-10 12:01:43 +00:00
SCR_CenterPrint() has been counting the lines in the wrong place: count
the copied string NOT the original. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@607 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
5bd9d86d07
commit
b51d0c0878
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
|
// count the number of lines for centering
|
||||||
scr_center_lines = 1;
|
scr_center_lines = 1;
|
||||||
|
str = scr_centerstring;
|
||||||
while (*str)
|
while (*str)
|
||||||
{
|
{
|
||||||
if (*str == '\n')
|
if (*str == '\n')
|
||||||
|
|
Loading…
Reference in a new issue