From 77efde34565cfabdb626d7e7af7807a2af1444c3 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 2 Jul 2018 20:52:39 +0100 Subject: [PATCH] dtwm: Coverity 87256 --- cde/programs/dtwm/WmWinConf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1