From 53b02577b92ed8ca5d4067568471101694c067b7 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sun, 19 Nov 2006 22:24:18 +0000 Subject: (svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron --- console.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'console.c') diff --git a/console.c b/console.c index 093a575ae..44fd77822 100644 --- a/console.c +++ b/console.c @@ -152,7 +152,7 @@ static void IConsoleWndProc(Window *w, WindowEvent *e) break; case WKC_CTRL | WKC_RETURN: _iconsole_mode = (_iconsole_mode == ICONSOLE_FULL) ? ICONSOLE_OPENED : ICONSOLE_FULL; - IConsoleResize(w); + IConsoleResize(); MarkWholeScreenDirty(); break; case (WKC_CTRL | 'V'): @@ -283,10 +283,8 @@ void IConsoleFree(void) CloseConsoleLogIfActive(); } -void IConsoleResize(Window *w) +void IConsoleResize(void) { - assert(_iconsole_win == w); - switch (_iconsole_mode) { case ICONSOLE_OPENED: _iconsole_win->height = _screen.height / 3; -- cgit v1.2.3-54-g00ecf