Skip to content
Snippets Groups Projects
Commit 695f2394 authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard
Browse files

Corrected used registry key.

parent 73d4b5e0
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment