From 39c0682bff94ae00ec1e62a16a8f17ba47ff5137 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Mon, 17 Apr 2006 01:49:29 -0500 Subject: [PATCH] advpack: The fallback directory is the fifth field index, not the sixth. --- dlls/advpack/advpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/advpack/advpack.c b/dlls/advpack/advpack.c index 2796d559d4f..61ea5b75eb9 100644 --- a/dlls/advpack/advpack.c +++ b/dlls/advpack/advpack.c @@ -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);