user32: Fix compiler warning
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Sat, 13 Dec 2008 23:39:00 +0000 (14 00:39 +0100)
committerMaarten Lankhorst <m.b.lankhorst@gmail.com>
Sat, 27 Dec 2008 20:18:37 +0000 (27 21:18 +0100)
dlls/user32/dde_client.c

index d8a30c9..a8ccdb6 100644 (file)
@@ -812,7 +812,7 @@ static WDML_QUEUE_STATE WDML_HandleTerminateReply(WDML_CONV* pConv, MSG* msg)
        FIXME("hmmm shouldn't happen\n");
        return WDML_QS_PASS;
     }
-    if (!pConv->instance->CBFflags & CBF_SKIP_DISCONNECTS)
+    if (!(pConv->instance->CBFflags & CBF_SKIP_DISCONNECTS))
     {
        WDML_InvokeCallback(pConv->instance, XTYP_DISCONNECT, 0, (HCONV)pConv,
                            0, 0, 0, 0, (pConv->wStatus & ST_ISSELF) ? 1 : 0);
@@ -895,7 +895,7 @@ static WDML_QUEUE_STATE WDML_HandleIncomingTerminate(WDML_CONV* pConv, MSG* msg,
        return WDML_QS_PASS;
 
     pConv->wStatus |= ST_TERMINATED;
-    if (!pConv->instance->CBFflags & CBF_SKIP_DISCONNECTS)
+    if (!(pConv->instance->CBFflags & CBF_SKIP_DISCONNECTS))
     {
        WDML_InvokeCallback(pConv->instance, XTYP_DISCONNECT, 0, (HCONV)pConv,
                            0, 0, 0, 0, (pConv->wStatus & ST_ISSELF) ? 1 : 0);