diff options
author | rubidium <rubidium@openttd.org> | 2009-02-09 01:06:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-09 01:06:23 +0000 |
commit | 9907742a0f73bdbbf578cd2b6c424b80d254fed1 (patch) | |
tree | 3fb8cd8b4041aa509972f5b01531eb874e6c113d /src/osk_gui.cpp | |
parent | 7b8c13fa5c7cdaac1342fd7c8244721739e2354c (diff) | |
download | openttd-9907742a0f73bdbbf578cd2b6c424b80d254fed1.tar.xz |
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
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 a3fa2f95a..a4906c1ed 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) ? COLOUR_WHITE : COLOUR_GREY; + this->widget[OSK_WIDGET_SHIFT].colour = HasBit(_keystate, KEYS_SHIFT) ? COLOUR_WHITE : COLOUR_GREY; this->SetDirty(); } return; |