X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fevents.c;h=bad6c0c15d992629c5f0973cf2962b5c2cecef0a;hb=d7bb50dd6727a25908eaecca817b361d9b09158e;hp=5542bd4117a45e6aa570c5e7d32581e3d6b093c3;hpb=cc17a49a1a63c1df0e55a5afd510698e21b71dfe;p=rocksndiamonds.git diff --git a/src/events.c b/src/events.c index 5542bd41..bad6c0c1 100644 --- a/src/events.c +++ b/src/events.c @@ -216,7 +216,7 @@ void HandleButtonEvent(XButtonEvent *event) { motion_status = FALSE; - if (event->type==ButtonPress) + if (event->type == ButtonPress) button_status = event->button; else button_status = MB_RELEASED;