Commit c9bd224f authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Fix a regression in the file open dialog.

parent f70e80b3
...@@ -215,7 +215,7 @@ void pdump (LPCITEMIDLIST pidl) ...@@ -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) ...@@ -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;
} }
......
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