Mercurial > hg > openttd
diff src/console_gui.cpp @ 13034:6eb3f749890a draft
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
author | frosch <frosch@openttd.org> |
---|---|
date | Sun, 13 Sep 2009 19:15:59 +0000 |
parents | c02d5e082def |
children | 1c4c4ae8d716 |
line wrap: on
line diff
--- a/src/console_gui.cpp +++ b/src/console_gui.cpp @@ -141,7 +141,7 @@ _iconsole_cmdline.width = 0; _iconsole_cmdline.caretpos = 0; _iconsole_cmdline.caretxoffs = 0; - InvalidateWindow(WC_CONSOLE, 0); + SetWindowDirty(WC_CONSOLE, 0); } static inline void IConsoleResetHistoryPos() {_iconsole_historypos = ICON_HISTORY_SIZE - 1;} @@ -470,5 +470,5 @@ void IConsoleGUIPrint(ConsoleColour colour_code, char *str) { new IConsoleLine(str, (TextColour)colour_code); - InvalidateWindow(WC_CONSOLE, 0); + SetWindowDirty(WC_CONSOLE, 0); }