From 12a72a64f39d627de5d28f5747873fb9af8bab5a Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 14 Jul 2009 14:19:45 +0000 Subject: [PATCH] console should now compile again. mneh. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3269 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/console.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/client/console.c b/engine/client/console.c index 60cfa048f..be108bfb2 100644 --- a/engine/client/console.c +++ b/engine/client/console.c @@ -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++; }