Changeset - r19818:f59a0cfcd577
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-11-28 21:03:34
frosch@openttd.org
(svn r24773) -Fix: Shift in the OSK behaved like capslock.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/osk_gui.cpp
Show inline comments
 
@@ -124,7 +124,7 @@ struct OskWindow : public Window {
 

	
 
			if (HasBit(_keystate, KEYS_SHIFT)) {
 
				ToggleBit(_keystate, KEYS_SHIFT);
 
				this->GetWidget<NWidgetCore>(WID_OSK_SHIFT)->colour = HasBit(_keystate, KEYS_SHIFT) ? COLOUR_WHITE : COLOUR_GREY;
 
				this->UpdateOskState();
 
				this->SetDirty();
 
			}
 
			/* Return focus to the parent widget and window. */
0 comments (0 inline, 0 general)