Module: wine Branch: refs/heads/master Commit: 5f875b09123342d230d3db47251661084655d067 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=5f875b09123342d230d3db47...
Author: James Hawkins truiken@gmail.com Date: Thu May 4 00:23:17 2006 -0500
advpack: DelDirs should only remove a directory if it's empty.
---
dlls/advpack/install.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/advpack/install.c b/dlls/advpack/install.c index 544915d..2feadee 100644 --- a/dlls/advpack/install.c +++ b/dlls/advpack/install.c @@ -87,7 +87,7 @@ static HRESULT del_dirs_callback(HINF hi MAX_INF_STRING_LENGTH, &size)) continue;
- if (DelNodeW(directory, 0)) + if (DelNodeW(directory, ADN_DEL_IF_EMPTY)) hr = E_FAIL; }