summaryrefslogtreecommitdiff
path: root/src/console_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-03 12:01:41 +0000
committerrubidium <rubidium@openttd.org>2011-01-03 12:01:41 +0000
commitb25cf57542dbf294a9de3f7a9910e1e08e6ed7a4 (patch)
treeac208841735480e0c06b3da6da55b33a1bbdc7c7 /src/console_gui.cpp
parent1c2d56d314d5be9d228b08ca6eea8d988f2a389f (diff)
downloadopenttd-b25cf57542dbf294a9de3f7a9910e1e08e6ed7a4.tar.xz
(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts
Diffstat (limited to 'src/console_gui.cpp')
-rw-r--r--src/console_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console_gui.cpp b/src/console_gui.cpp
index 757251f26..875e78d05 100644
--- a/src/console_gui.cpp
+++ b/src/console_gui.cpp
@@ -489,8 +489,8 @@ static void IConsoleHistoryNavigate(int direction)
* @param colour_code the colour of the command. Red in case of errors, etc.
* @param str the message entered or output on the console (notice, error, etc.)
*/
-void IConsoleGUIPrint(ConsoleColour colour_code, char *str)
+void IConsoleGUIPrint(TextColour colour_code, char *str)
{
- new IConsoleLine(str, (TextColour)colour_code);
+ new IConsoleLine(str, colour_code);
SetWindowDirty(WC_CONSOLE, 0);
}