summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index a646793c0..b6f00c198 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -383,7 +383,7 @@ DEF_CONSOLE_CMD(ConClearBuffer)
}
IConsoleClearBuffer();
- InvalidateWindow(WC_CONSOLE, 0);
+ SetWindowDirty(WC_CONSOLE, 0);
return true;
}