summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
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;