1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtwm: Coverity 87256

This commit is contained in:
Peter Howkins 2018-07-02 20:52:39 +01:00
parent 58065ae980
commit 77efde3456

View file

@ -4108,7 +4108,7 @@ StartMarqueeSelect(WmScreenData *pSD, XEvent *pev)
/* /*
* Set up static variables for succeeding events * Set up static variables for succeeding events
*/ */
if (pev && (pev->type == ButtonPress) || (pev->type == ButtonRelease)) if (pev && ((pev->type == ButtonPress) || (pev->type == ButtonRelease)))
{ {
pointerX = pev->xbutton.x_root; pointerX = pev->xbutton.x_root;
pointerY = pev->xbutton.y_root; pointerY = pev->xbutton.y_root;