* Use SHDeleteKeyW explicitly here.

svn path=/trunk/; revision=63551
This commit is contained in:
Amine Khaldi 2014-06-08 12:08:16 +00:00
parent ee29688b8d
commit 60de098b28

View file

@ -294,7 +294,7 @@ static int reg_delete(WCHAR *key_name, WCHAR *value_name, BOOL value_empty,
/* Delete subtree only if no /v* option is given */
if (!value_name && !value_empty && !value_all)
{
if (SHDeleteKey(root, p) != ERROR_SUCCESS)
if (SHDeleteKeyW(root, p) != ERROR_SUCCESS)
{
reg_message(STRING_CANNOT_FIND);
return 1;