Commit 458cb289 authored by Maxime Bellengé's avatar Maxime Bellengé Committed by Alexandre Julliard

Fix a cut&paste mistake.

parent e135a522
...@@ -3094,7 +3094,7 @@ static BOOL WINSPOOL_GetDriverInfoFromReg( ...@@ -3094,7 +3094,7 @@ static BOOL WINSPOOL_GetDriverInfoFromReg(
unicode)) { unicode)) {
*pcbNeeded += size; *pcbNeeded += size;
if(*pcbNeeded <= cbBuf) if(*pcbNeeded <= cbBuf)
WINSPOOL_GetStringFromReg(hkeyDriver, MonitorW, strPtr, WINSPOOL_GetStringFromReg(hkeyDriver, DatatypeW, strPtr,
size, &tmp, unicode); size, &tmp, unicode);
if(ptr) if(ptr)
((PDRIVER_INFO_3W) ptr)->pDefaultDataType = (LPWSTR)strPtr; ((PDRIVER_INFO_3W) ptr)->pDefaultDataType = (LPWSTR)strPtr;
......
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