Commit 1f79d57d authored by Jon Griffiths's avatar Jon Griffiths Committed by Alexandre Julliard

Use the A version of calls when passing ASCII strings.

parent 4fd0c5fd
......@@ -59,11 +59,11 @@ static DWORD delete_key( HKEY hkey, LPSTR parent, LPSTR keyname )
RegCloseKey(hkey);
/* open the parent of the key to close */
ret = RegOpenKeyEx( HKEY_CURRENT_USER, parent, 0, KEY_ALL_ACCESS, &parentKey);
ret = RegOpenKeyExA( HKEY_CURRENT_USER, parent, 0, KEY_ALL_ACCESS, &parentKey);
if (ret != ERROR_SUCCESS)
return ret;
ret = SHDeleteKey( parentKey, keyname );
ret = SHDeleteKeyA( parentKey, keyname );
RegCloseKey(parentKey);
return ret;
......
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