summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-01-28 20:10:49 +0000
committerrubidium <rubidium@openttd.org>2012-01-28 20:10:49 +0000
commit2f49c9af85ffffc4c875ffba9b0e308626d72f06 (patch)
tree6f7225f26c2e1abe3ec5dd066074f09b496429bb /src/toolbar_gui.cpp
parentc9a7eb257193799be1cddfbe5136525c5c0f54da (diff)
downloadopenttd-2f49c9af85ffffc4c875ffba9b0e308626d72f06.tar.xz
(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
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index 60302e695..a9aae0171 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -146,7 +146,7 @@ public:
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;
}