Corrected used registry key.

This commit is contained in:
Stefan Leichter 2000-11-10 01:04:29 +00:00 committed by Alexandre Julliard
parent 73d4b5e081
commit 695f2394cf

View file

@ -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;