mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 11:34:07 +00:00
Corrected used registry key.
This commit is contained in:
parent
73d4b5e081
commit
695f2394cf
|
@ -678,7 +678,7 @@ static HKEY WINSPOOL_OpenDriverReg( LPVOID pEnvironment, BOOL unicode)
|
|||
|
||||
TRACE("%s\n", lpKey);
|
||||
|
||||
if(RegCreateKeyA(HKEY_LOCAL_MACHINE, Drivers, &retval) !=
|
||||
if(RegCreateKeyA(HKEY_LOCAL_MACHINE, lpKey, &retval) !=
|
||||
ERROR_SUCCESS)
|
||||
retval = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue