dtwm: Coverity 88285

This commit is contained in:
Peter Howkins 2018-07-02 21:01:36 +01:00
parent e0d8aaa0dd
commit ac6fd23add
1 changed files with 1 additions and 2 deletions

View File

@ -926,8 +926,7 @@ Boolean HandleCButtonPress (ClientData *pCD, XButtonEvent *buttonEvent)
ProcessClickBPress (buttonEvent, pCD, context, subContext);
}
if (CheckForButtonAction (buttonEvent, context, subContext, pCD)
&& pCD)
if (CheckForButtonAction (buttonEvent, context, subContext, pCD))
{
/*
* Button bindings have been processed, now check for bindings