Commit c16ca722 authored by Alexandre Julliard's avatar Alexandre Julliard

user: Fixed a broken trace in the dialog test.

parent 2ff505c2
......@@ -194,7 +194,7 @@ static BOOL CreateWindows (HINSTANCE hinst)
{
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment