diff options
Diffstat (limited to 'uisimulator/win32/button.c')
-rw-r--r-- | uisimulator/win32/button.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/win32/button.c b/uisimulator/win32/button.c index dce055e613..d1a86f191a 100644 --- a/uisimulator/win32/button.c +++ b/uisimulator/win32/button.c | |||
@@ -143,7 +143,7 @@ void button_event(int key, bool pressed) | |||
143 | if (pressed) | 143 | if (pressed) |
144 | btn |= new_btn; | 144 | btn |= new_btn; |
145 | else | 145 | else |
146 | btn &= !new_btn; | 146 | btn &= ~new_btn; |
147 | 147 | ||
148 | /* Lots of stuff copied from real button.c. Not good, I think... */ | 148 | /* Lots of stuff copied from real button.c. Not good, I think... */ |
149 | 149 | ||