From 4327a57df2b02c8b2f7c94a0ebb746b114a2857f Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 25 Feb 2020 18:06:23 -0500 Subject: [PATCH] compile warning fix --- dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenu.c b/dmenu.c index 8f72f60..643f9e2 100644 --- a/dmenu.c +++ b/dmenu.c @@ -21,7 +21,7 @@ /* macros */ #define INTERSECT(x,y,w,h,r) (MAX(0, MIN((x)+(w),(r).x_org+(r).width) - MAX((x),(r).x_org)) \ - * MAX(0, MIN((y)+(h),(r).y_org+(r).height) - MAX((y),(r).y_org))) + && MAX(0, MIN((y)+(h),(r).y_org+(r).height) - MAX((y),(r).y_org))) #define LENGTH(X) (sizeof X / sizeof X[0]) #define TEXTW(X) (drw_fontset_getwidth(drw, (X)) + lrpad)