Commit 695f2394 authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

Corrected used registry key.

parent 73d4b5e0
......@@ -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;
......
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