From a7693c60592b25873b451cb27d26b8e3763c00d6 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 9 Feb 2009 02:09:47 +0000 Subject: (svn r15425) -Codechange: some color->colour changes and type safety. --- src/ai/ai_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai') diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 8827601bc..5fd9d87db 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -674,7 +674,7 @@ struct AIDebugWindow : public Window { uint pos = (log->count + log->pos - i) % log->count; if (log->lines[pos] == NULL) break; - uint colour; + TextColour colour; switch (log->type[pos]) { case AILog::LOG_SQ_INFO: colour = TC_BLACK; break; case AILog::LOG_SQ_ERROR: colour = TC_RED; break; -- cgit v1.2.3-70-g09d2