From: Peter Howkins Date: Mon, 2 Jul 2018 19:52:39 +0000 (+0100) Subject: dtwm: Coverity 87256 X-Git-Tag: 2.3.0a~262 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=77efde34565cfabdb626d7e7af7807a2af1444c3;p=oweals%2Fcde.git dtwm: Coverity 87256 --- diff --git a/cde/programs/dtwm/WmWinConf.c b/cde/programs/dtwm/WmWinConf.c index d917dfc3..5cb576dd 100644 --- a/cde/programs/dtwm/WmWinConf.c +++ b/cde/programs/dtwm/WmWinConf.c @@ -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;