compile warning fix

This commit is contained in:
Luke Smith 2020-02-25 18:06:23 -05:00
parent 934fae8c04
commit 4327a57df2
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -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)