Commit ae0ddb37 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

user32: Fix logic condition in SPY_DumpStructure().

parent 6a9e096d
......@@ -2489,7 +2489,8 @@ static void SPY_DumpStructure(const SPY_INSTANCE *sp_e, BOOL enter)
SetLastError(save_error);
if (strcmpW(TOOLBARCLASSNAMEW, from_class) == 0)
dumplen = sizeof(NMTBCUSTOMDRAW)-sizeof(NMHDR);
} else if ((pnmh->code >= HDN_ITEMCHANGINGA) && (pnmh->code <= HDN_ENDDRAG)) {
} else if ( pnmh->code >= HDN_ENDDRAG
&& pnmh->code <= HDN_ITEMCHANGINGA ) {
dumplen = sizeof(NMHEADERA)-sizeof(NMHDR);
}
if (dumplen > 0) {
......
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