summaryrefslogtreecommitdiff
path: root/src/console_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-14 18:16:29 +0000
committerrubidium <rubidium@openttd.org>2009-03-14 18:16:29 +0000
commit9d018723b7bab3341cd455708a6cd98283d75c34 (patch)
tree52ab96dc0e1aa14f6c966c67c4a94ba1762f9c15 /src/console_gui.cpp
parent1692ce83122d1ed15206f160aea339761b173174 (diff)
downloadopenttd-9d018723b7bab3341cd455708a6cd98283d75c34.tar.xz
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
Diffstat (limited to 'src/console_gui.cpp')
-rw-r--r--src/console_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp
index ba7980fdc..f3ea795cf 100644
--- a/src/console_gui.cpp
+++ b/src/console_gui.cpp
@@ -204,7 +204,7 @@ struct IConsoleWindow : Window
const int scroll_height = (this->height / ICON_LINE_HEIGHT) - 1;
switch (keycode) {
case WKC_UP:
- IConsoleHistoryNavigate(+1);
+ IConsoleHistoryNavigate(1);
this->SetDirty();
break;