(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.

This commit is contained in:
frosch
2009-09-13 17:37:47 +00:00
parent 36739925a2
commit 263952f557
8 changed files with 9 additions and 21 deletions

View File

@@ -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);
}