msi: Return the correct disk prompt size from MsiSourceListEnumMediaDisksW (clang).
This commit is contained in:
parent
53b5e7f319
commit
eb4e5d6024
|
@ -330,7 +330,6 @@ UINT WINAPI MsiSourceListEnumMediaDisksW(LPCWSTR szProductCodeOrPatchCode,
|
||||||
else
|
else
|
||||||
size = lstrlenW(ptr);
|
size = lstrlenW(ptr);
|
||||||
|
|
||||||
size = lstrlenW(ptr);
|
|
||||||
if (size >= *pcchDiskPrompt)
|
if (size >= *pcchDiskPrompt)
|
||||||
r = ERROR_MORE_DATA;
|
r = ERROR_MORE_DATA;
|
||||||
else if (szDiskPrompt)
|
else if (szDiskPrompt)
|
||||||
|
|
Loading…
Reference in New Issue