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;