mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 14:05:48 +02:00
[hackers] [dmenu][PATCH] Fix C warning about using '*' in boolean context
This commit is contained in:
parent
9147fb7202
commit
0344cdea20
2
dmenu.c
2
dmenu.c
@ -906,7 +906,7 @@ setup(void)
|
||||
/* no focused window is on screen, so use pointer location instead */
|
||||
if (mon < 0 && !area && XQueryPointer(dpy, root, &dw, &dw, &x, &y, &di, &di, &du))
|
||||
for (i = 0; i < n; i++)
|
||||
if (INTERSECT(x, y, 1, 1, info[i]))
|
||||
if (INTERSECT(x, y, 1, 1, info[i]) != 0)
|
||||
break;
|
||||
|
||||
#if CENTER_PATCH
|
||||
|
Loading…
Reference in New Issue
Block a user