Commit 2a8f7962 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

Pass an empty string instead of NULL to RegDeleteKey to delete hKey.

parent 77a07a17
......@@ -48,7 +48,7 @@ static DWORD delete_key( HKEY hkey )
if (ret) break;
}
if (ret != ERROR_NO_MORE_ITEMS) return ret;
RegDeleteKeyA( hkey, NULL );
RegDeleteKeyA( hkey, "" );
return 0;
}
......
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