summaryrefslogtreecommitdiff
path: root/src/console_gui.cpp
diff options
context:
space:
mode:
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 e5d80fcba..b9062088e 100644
--- a/src/console_gui.cpp
+++ b/src/console_gui.cpp
@@ -443,7 +443,7 @@ void IConsoleSwitch()
break;
case ICONSOLE_OPENED: case ICONSOLE_FULL:
- DeleteWindowById(WC_CONSOLE, 0);
+ CloseWindowById(WC_CONSOLE, 0);
break;
}