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);
|
TRACE("%s\n", lpKey);
|
||||||
|
|
||||||
if(RegCreateKeyA(HKEY_LOCAL_MACHINE, Drivers, &retval) !=
|
if(RegCreateKeyA(HKEY_LOCAL_MACHINE, lpKey, &retval) !=
|
||||||
ERROR_SUCCESS)
|
ERROR_SUCCESS)
|
||||||
retval = NULL;
|
retval = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue