Fix a regression in the file open dialog.

This commit is contained in:
Mike McCormack 2005-03-17 18:55:16 +00:00 committed by Alexandre Julliard
parent f70e80b311
commit c9bd224f0f

View File

@ -215,7 +215,7 @@ void pdump (LPCITEMIDLIST pidl)
pidltemp = _dbg_ILGetNext(pidltemp); pidltemp = _dbg_ILGetNext(pidltemp);
} while (pidltemp); } while (pidltemp && pidltemp->mkid.cb);
} }
else else
{ {
@ -275,7 +275,7 @@ BOOL pcheck (LPCITEMIDLIST pidl)
} }
} }
pidltemp = _dbg_ILGetNext(pidltemp); pidltemp = _dbg_ILGetNext(pidltemp);
} while (pidltemp); } while (pidltemp && pidltemp->mkid.cb);
} }
return ret; return ret;
} }