summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-18 10:16:51 +0000
committerrubidium <rubidium@openttd.org>2008-04-18 10:16:51 +0000
commitd46d8d9c9d75dda0b3688d8f74313acd4e2a84a9 (patch)
treedfc71064bea779abeeec229e5820046f40499776 /src/misc_gui.cpp
parent7d234fa0695f329f2bb6784291aa17bd2813ec89 (diff)
downloadopenttd-d46d8d9c9d75dda0b3688d8f74313acd4e2a84a9.tar.xz
(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index f8faea218..78053470d 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -567,6 +567,7 @@ static void ErrmsgWndProc(Window *w, WindowEvent *e)
case WE_DESTROY:
SetRedErrorSquare(0);
+ extern StringID _switch_mode_errorstr;
_switch_mode_errorstr = INVALID_STRING_ID;
break;