diff --git a/src/main.c b/src/main.c index b9100ab..e0b3445 100644 --- a/src/main.c +++ b/src/main.c @@ -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;