summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 09:59:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 11:14:33 +0000
commit5d99890f9df292642dfe93a961c3e4d449e3eb16 (patch)
tree35c50f819957edfe9ff6ae50bd6e06990f6e57ae /uui
parentdbd85e0eb3476bed23a9586bd1edc5d5686fe6c5 (diff)
coverity#704132 Operands don't affect result
Change-Id: Ib2cf15d31231ff02645faae9d4a984112e5af795
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl-errorhandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx
index 136f5fbb67b4..6d65d66d8660 100644
--- a/uui/source/iahndl-errorhandler.cxx
+++ b/uui/source/iahndl-errorhandler.cxx
@@ -75,9 +75,9 @@ executeErrorDialog(
break;
case task::InteractionClassification_INFO:
- if ((nButtonMask & 0x01F00000) == WB_DEF_OK)
- //TODO! missing win bit button mask define (want to ignore
- // any default button settings)...
+# define WB_DEF_BUTTONS (WB_DEF_OK | WB_DEF_CANCEL | WB_DEF_RETRY)
+ //(want to ignore any default button settings)...
+ if ((nButtonMask & WB_DEF_BUTTONS) == WB_DEF_OK)
xBox.reset(new InfoBox(pParent,
aText.makeStringAndClear()));
else