forked from Mirrors/wine-wine
_dbg_ILGetNext returns NULL if pidl->mkid.cb is zero, fix the loops
accordingly.oldstable
parent
c7e815c53b
commit
9f2bbd6566
|
@ -215,7 +215,7 @@ void pdump (LPCITEMIDLIST pidl)
|
|||
|
||||
pidltemp = _dbg_ILGetNext(pidltemp);
|
||||
|
||||
} while (pidltemp->mkid.cb);
|
||||
} while (pidltemp);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -275,7 +275,7 @@ BOOL pcheck (LPCITEMIDLIST pidl)
|
|||
}
|
||||
}
|
||||
pidltemp = _dbg_ILGetNext(pidltemp);
|
||||
} while (pidltemp->mkid.cb);
|
||||
} while (pidltemp);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue