Alexandre Julliard : user: Fixed a broken trace in the dialog test.

Alexandre Julliard julliard at wine.codeweavers.com
Thu May 18 09:44:08 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: c16ca7221004554c1db1829d1ad58cbe4ea66590
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=c16ca7221004554c1db1829d1ad58cbe4ea66590

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu May 18 16:32:49 2006 +0200

user: Fixed a broken trace in the dialog test.

---

 dlls/user/tests/dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user/tests/dialog.c b/dlls/user/tests/dialog.c
index d55eef4..dea1826 100644
--- a/dlls/user/tests/dialog.c
+++ b/dlls/user/tests/dialog.c
@@ -194,7 +194,7 @@ static BOOL CreateWindows (HINSTANCE hin
         {
             style = GetWindowLong (hwnd[p->id], GWL_STYLE);
             exstyle = GetWindowLong (hwnd[p->id], GWL_EXSTYLE);
-            if (style == p->style && exstyle == p->exstyle)
+            if (style != p->style || exstyle != p->exstyle)
             {
                 trace ("Style mismatch at %d: %8.8lx %8.8lx cf %8.8lx %8.8lx\n", p->id, style, exstyle, p->style, p->exstyle);
             }




More information about the wine-cvs mailing list