advpack: DelDirs should only remove a directory if it's empty.

oldstable
James Hawkins 2006-05-04 00:23:17 -05:00 committed by Alexandre Julliard
parent 8e111502ad
commit 5f875b0912
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ static HRESULT del_dirs_callback(HINF hinf, PCWSTR field, void *arg)
MAX_INF_STRING_LENGTH, &size))
continue;
if (DelNodeW(directory, 0))
if (DelNodeW(directory, ADN_DEL_IF_EMPTY))
hr = E_FAIL;
}