Fix a cut&paste mistake.
This commit is contained in:
parent
e135a52294
commit
458cb289dd
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue