devicediagnosticsfw/diagpluginbase/src/diagpluginwaitingdialogwrapper.cpp
changeset 22 19fb38abab1d
parent 1 a9c0ce913924
--- a/devicediagnosticsfw/diagpluginbase/src/diagpluginwaitingdialogwrapper.cpp	Tue Feb 02 00:44:00 2010 +0200
+++ b/devicediagnosticsfw/diagpluginbase/src/diagpluginwaitingdialogwrapper.cpp	Fri Apr 16 15:52:47 2010 +0300
@@ -58,8 +58,8 @@
     // Dialog must not be NULL
     __ASSERT_ALWAYS( iWaitingDialog, Panic( EDiagPluginBasePanicBadArgument ) );
 
-    // Coverity Change .....  Dialog must have EEikDialogFlagWait flag set
-    __ASSERT_ALWAYS( (iWaitingDialog->DialogFlags() & EEikDialogFlagWait),
+    // Dialog must have EEikDialogFlagWait flag set
+    __ASSERT_ALWAYS( !(iWaitingDialog->DialogFlags() & EEikDialogFlagWait),
                      Panic( EDiagPluginBasePanicBadArgument ) );
     }