Fix a cut&paste mistake.

This commit is contained in:
Maxime Bellengé 2005-10-03 18:48:56 +00:00 committed by Alexandre Julliard
parent e135a52294
commit 458cb289dd
1 changed files with 1 additions and 1 deletions

View File

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