From 5e449b8fae1f5f9941a385a49eb1e958788809c2 Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 6 May 2011 21:13:29 +0000 Subject: (svn r22429) -Add: some constants for specific palette colours used in the GUI. --- 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 31bcf6605..8c552a804 100644 --- a/src/ai/ai_gui.cpp +++ b/src/ai/ai_gui.cpp @@ -978,7 +978,7 @@ struct AIDebugWindow : public QueryStringBaseWindow { /* Check if the current line should be highlighted */ if (pos == this->highlight_row) { - GfxFillRect(r.left + 1, r.top + y, r.right - 1, r.top + y + this->resize.step_height - WD_PAR_VSEP_NORMAL, GREY_SCALE(0)); + GfxFillRect(r.left + 1, r.top + y, r.right - 1, r.top + y + this->resize.step_height - WD_PAR_VSEP_NORMAL, PC_BLACK); if (colour == TC_BLACK) colour = TC_WHITE; // Make black text readable by inverting it to white. } -- cgit v1.2.3-54-g00ecf