From 7dd677ced22abb688b2ed69f99faed211f3554b1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 26 Apr 2009 15:26:19 +0000 Subject: (svn r16162) -Codechange: remove needless TC_ colours from DrawString when they are part of strings and add some colours to a few strings. --- src/ai/ai_gui.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ai') diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp index 727e7ab45..d7fd0e306 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -96,18 +96,18 @@ struct AIListWindow : public Window { if (selected_info != NULL) { int y = this->widget[AIL_WIDGET_INFO_BG].top + 6; SetDParamStr(0, selected_info->GetAuthor()); - DrawString(4, this->widget[AIL_WIDGET_INFO_BG].right - 4, y, STR_AI_AUTHOR, TC_BLACK); + DrawString(4, this->widget[AIL_WIDGET_INFO_BG].right - 4, y, STR_AI_AUTHOR); y += 13; SetDParam(0, selected_info->GetVersion()); - DrawString(4, this->widget[AIL_WIDGET_INFO_BG].right - 4, y, STR_AI_VERSION, TC_BLACK); + DrawString(4, this->widget[AIL_WIDGET_INFO_BG].right - 4, y, STR_AI_VERSION); y += 13; if (selected_info->GetURL() != NULL) { SetDParamStr(0, selected_info->GetURL()); - DrawString(4, this->widget[AIL_WIDGET_INFO_BG].right - 4, y, STR_AI_URL, TC_BLACK); + DrawString(4, this->widget[AIL_WIDGET_INFO_BG].right - 4, y, STR_AI_URL); y += 13; } SetDParamStr(0, selected_info->GetDescription()); - DrawStringMultiLine(4, this->width - 8, y, this->widget[AIL_WIDGET_INFO_BG].bottom, STR_JUST_RAW_STRING); + DrawStringMultiLine(4, this->width - 8, y, this->widget[AIL_WIDGET_INFO_BG].bottom, STR_JUST_RAW_STRING, TC_BLACK); } } -- cgit v1.2.3-54-g00ecf