Commit 5f875b09 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent 8e111502
......@@ -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;
}
......
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