changeset 19011:b1aa80cd0b5b draft

(svn r23867) -Fix [FS#5020]: make the colour of the dropdown items for opening the vehicle list for which the company has no vehicles looking less horrid
author rubidium <rubidium@openttd.org>
date Sat, 28 Jan 2012 20:10:49 +0000
parents 5c9c720a7ae3
children 6a7c87ca7a5b
files src/toolbar_gui.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -146,7 +146,7 @@
 		SetDParam(1, company);
 		TextColour col;
 		if (this->greyed) {
-			col = TC_GREY;
+			col = (sel ? TC_SILVER : TC_GREY) | TC_NO_SHADE;
 		} else {
 			col = sel ? TC_WHITE : TC_BLACK;
 		}