Fix compilation bug
This commit is contained in:
parent
ea6b535a40
commit
a453914653
|
@ -112,16 +112,16 @@ poll_mouse(void) {
|
|||
switch (mouse_event.code) {
|
||||
case BTN_LEFT: {
|
||||
if (mouse_event.value == 1) {
|
||||
in.mouse.buttons |= 0x01
|
||||
in.mouse.buttons |= 0x01;
|
||||
} else {
|
||||
in.mouse.buttons &= ~0x01
|
||||
in.mouse.buttons &= ~0x01;
|
||||
}
|
||||
} break;
|
||||
case BTN_RIGHT: {
|
||||
if (mouse_event.value == 1) {
|
||||
in.mouse.buttons |= 0x10
|
||||
in.mouse.buttons |= 0x10;
|
||||
} else {
|
||||
in.mouse.buttons &= ~0x10
|
||||
in.mouse.buttons &= ~0x10;
|
||||
}
|
||||
} break;
|
||||
default: break;
|
||||
|
|
Loading…
Reference in New Issue