user32: Fix logic condition in SPY_DumpStructure().

This commit is contained in:
Gerald Pfeifer 2009-06-07 11:20:54 +02:00 committed by Alexandre Julliard
parent 6a9e096da9
commit ae0ddb37c2
1 changed files with 2 additions and 1 deletions

View File

@ -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) {