summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2006-11-18 00:14:43 +0000
committerDarkvater <Darkvater@openttd.org>2006-11-18 00:14:43 +0000
commit1a87a33911c26b69a1143709410a7837d84e24cd (patch)
tree75a3954c33043c724e452fafd6ef0b60291b6eb6 /console.c
parent20cf41522e61a34b97f7f24487dd67231a929bef (diff)
downloadopenttd-1a87a33911c26b69a1143709410a7837d84e24cd.tar.xz
(svn r7200) -Codechange: remove unneeded redraw (console.c), coding style, use FindWindowById
instead of _windows loop (viewport.c), remove dump-code (mixer.c), MSVC6 borkdness in stdafx.h, constness (viewport.c), variable localization (win32.c), comments (window.c)
Diffstat (limited to 'console.c')
-rw-r--r--console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.c b/console.c
index 98f6619b2..6cffe2b6c 100644
--- a/console.c
+++ b/console.c
@@ -296,7 +296,7 @@ void IConsoleResize(void)
_iconsole_win->height = _screen.height - ICON_BOTTOM_BORDERWIDTH;
_iconsole_win->width = _screen.width;
break;
- default: break;
+ default: return;
}
MarkWholeScreenDirty();