(svn r7219) -Fix: Several warnings by gcc introduced in r7206 which MSVC found not of a problem. Thanks Tron

This commit is contained in:
Darkvater
2006-11-19 22:24:18 +00:00
parent fb1bb34774
commit ba9f22cee6
7 changed files with 16 additions and 20 deletions

View File

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