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 | c5cecdd2e3b91b70f027ece6eacc23376c3bbb83 (patch) | |
tree | 9903a3f2b5b305528423b53ca6fc32cc9c53179f /src/osk_gui.cpp | |
parent | d67ef3573c4d126ff660c1141d3d12fff5001c84 (diff) | |
download | openttd-c5cecdd2e3b91b70f027ece6eacc23376c3bbb83.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; |