user32: Fix logic condition in SPY_DumpStructure().
This commit is contained in:
parent
6a9e096da9
commit
ae0ddb37c2
@ -2489,7 +2489,8 @@ static void SPY_DumpStructure(const SPY_INSTANCE *sp_e, BOOL enter)
|
|||||||
SetLastError(save_error);
|
SetLastError(save_error);
|
||||||
if (strcmpW(TOOLBARCLASSNAMEW, from_class) == 0)
|
if (strcmpW(TOOLBARCLASSNAMEW, from_class) == 0)
|
||||||
dumplen = sizeof(NMTBCUSTOMDRAW)-sizeof(NMHDR);
|
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);
|
dumplen = sizeof(NMHEADERA)-sizeof(NMHDR);
|
||||||
}
|
}
|
||||||
if (dumplen > 0) {
|
if (dumplen > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user