advpack: The fallback directory is the fifth field index, not the sixth.

This commit is contained in:
James Hawkins 2006-04-17 01:49:29 -05:00 committed by Alexandre Julliard
parent b70d65b227
commit 39c0682bff
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ static void get_dest_dir(HINF hInf, PCWSTR pszSection, PWSTR pszBuffer, DWORD dw
if (RegOpenKeyW(root, key, &subkey) ||
RegQueryValueExW(subkey, value, NULL, NULL, (LPBYTE)pszBuffer, &size))
{
SetupGetStringFieldW(&context, 6, pszBuffer, dwSize, NULL);
SetupGetStringFieldW(&context, 5, pszBuffer, dwSize, NULL);
}
RegCloseKey(subkey);