summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-09 09:29:27 +0000
committerrubidium <rubidium@openttd.org>2008-05-09 09:29:27 +0000
commit0f7d925121beb1033917918478c7d213305de595 (patch)
tree3a614e86500df9bd4d6ff37cbc44cca603933d88 /src/misc_gui.cpp
parentedc756697eb51474fdf0bad5c64056cf5d12d377 (diff)
downloadopenttd-0f7d925121beb1033917918478c7d213305de595.tar.xz
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index dfbee20f7..06af009d8 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -401,7 +401,7 @@ static void ErrmsgWndProc(Window *w, WindowEvent *e)
if (_right_button_down) delete w;
break;
- case WE_4:
+ case WE_100_TICKS:
if (--_errmsg_duration == 0) delete w;
break;