dtwm: Coverity 87256
authorPeter Howkins <flibble@users.sf.net>
Mon, 2 Jul 2018 19:52:39 +0000 (20:52 +0100)
committerPeter Howkins <flibble@users.sf.net>
Mon, 2 Jul 2018 19:52:39 +0000 (20:52 +0100)
cde/programs/dtwm/WmWinConf.c

index d917dfc31a0c886fb8c457adccc09d2a6433b53b..5cb576dd9e924b3142a92e8e99b3e7b95080ae02 100644 (file)
@@ -4108,7 +4108,7 @@ StartMarqueeSelect(WmScreenData *pSD, XEvent *pev)
     /* 
      * 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;
        pointerY = pev->xbutton.y_root;