diff options
author | belugas <belugas@openttd.org> | 2008-08-02 02:28:17 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-02 02:28:17 +0000 |
commit | 7ef5369306efae501e0e03a7413c11f20ef75654 (patch) | |
tree | 9903a3f2b5b305528423b53ca6fc32cc9c53179f /src/osk_gui.cpp | |
parent | 7aa97fee8c900724eab99a61f9655cb901db9964 (diff) | |
download | openttd-7ef5369306efae501e0e03a7413c11f20ef75654.tar.xz |
(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
Diffstat (limited to 'src/osk_gui.cpp')
-rw-r--r-- | src/osk_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osk_gui.cpp b/src/osk_gui.cpp index 11d79b149..7df8836a4 100644 --- a/src/osk_gui.cpp +++ b/src/osk_gui.cpp @@ -124,7 +124,7 @@ struct OskWindow : public Window { if (HasBit(_keystate, KEYS_SHIFT)) { ToggleBit(_keystate, KEYS_SHIFT); - this->widget[OSK_WIDGET_SHIFT].color = HasBit(_keystate, KEYS_SHIFT) ? 15 : 14; + this->widget[OSK_WIDGET_SHIFT].color = HasBit(_keystate, KEYS_SHIFT) ? COLOUR_WHITE : COLOUR_GREY; this->SetDirty(); } return; |