From a4539146533cd2cbf0f879e3ef4808f49471e7e5 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Sat, 5 Mar 2022 20:02:47 +0100 Subject: [PATCH] Fix compilation bug --- src/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;