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:
Spoike 2009-07-14 14:19:45 +00:00
parent 9cccfe2f35
commit 12a72a64f3
1 changed files with 3 additions and 3 deletions

View File

@ -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++;
}