From 734edc178db2d134923ed887b17242bbce55c802 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 13 Sep 2009 17:37:47 +0000 Subject: (svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already. --- src/console_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/console_gui.cpp') diff --git a/src/console_gui.cpp b/src/console_gui.cpp index c74b08685..7cde4e807 100644 --- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -141,7 +141,7 @@ static void IConsoleClearCommand() _iconsole_cmdline.width = 0; _iconsole_cmdline.caretpos = 0; _iconsole_cmdline.caretxoffs = 0; - SetWindowDirty(FindWindowById(WC_CONSOLE, 0)); + InvalidateWindow(WC_CONSOLE, 0); } static inline void IConsoleResetHistoryPos() {_iconsole_historypos = ICON_HISTORY_SIZE - 1;} @@ -470,5 +470,5 @@ static void IConsoleHistoryNavigate(int direction) void IConsoleGUIPrint(ConsoleColour colour_code, char *str) { new IConsoleLine(str, (TextColour)colour_code); - SetWindowDirty(FindWindowById(WC_CONSOLE, 0)); + InvalidateWindow(WC_CONSOLE, 0); } -- cgit v1.2.3-54-g00ecf