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
commit1b2773445d12037bb1293d35e5f1b9a4a44168d9 (patch)
treedfc71064bea779abeeec229e5820046f40499776 /src/misc_gui.cpp
parent2070cee0892591be5842842c1e6be41cdeda2f36 (diff)
downloadopenttd-1b2773445d12037bb1293d35e5f1b9a4a44168d9.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;