mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
console should now compile again. mneh.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3269 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9cccfe2f35
commit
12a72a64f3
1 changed files with 3 additions and 3 deletions
|
@ -900,7 +900,7 @@ void Con_DrawNotify (void)
|
|||
if (t > con_notifytime.value)
|
||||
break;
|
||||
|
||||
line = Con_LineBreaks((conchar_t*)(l+1), (conchar_t*)(l+1)+l->length, Font_ScreenWidth(conchar_font), lines, starts, ends);
|
||||
line = Con_LineBreaks((conchar_t*)(l+1), (conchar_t*)(l+1)+l->length, Font_ScreenWidth(), lines, starts, ends);
|
||||
if (!line && lines > 0)
|
||||
{
|
||||
lines--;
|
||||
|
@ -926,14 +926,14 @@ void Con_DrawNotify (void)
|
|||
{
|
||||
for (c = starts[lines]; c < ends[lines]; c++)
|
||||
{
|
||||
x += Font_CharWidth(conchar_font, *c);
|
||||
x += Font_CharWidth(*c);
|
||||
}
|
||||
x = (vid.width - x) / 2;
|
||||
}
|
||||
for (c = starts[lines]; c < ends[lines]; c++)
|
||||
x = Font_DrawChar(x, y, *c);
|
||||
|
||||
y += Font_CharHeight(conchar_font);
|
||||
y += Font_CharHeight();
|
||||
|
||||
lines++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue