James Hawkins : advpack: The fallback directory is the fifth field
index, not the sixth.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Apr 17 05:55:19 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 39c0682bff94ae00ec1e62a16a8f17ba47ff5137
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=39c0682bff94ae00ec1e62a16a8f17ba47ff5137
Author: James Hawkins <truiken at gmail.com>
Date: Mon Apr 17 01:49:29 2006 -0500
advpack: The fallback directory is the fifth field index, not the sixth.
---
dlls/advpack/advpack.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/advpack/advpack.c b/dlls/advpack/advpack.c
index 2796d55..61ea5b7 100644
--- a/dlls/advpack/advpack.c
+++ b/dlls/advpack/advpack.c
@@ -86,7 +86,7 @@ static void get_dest_dir(HINF hInf, PCWS
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);
More information about the wine-cvs
mailing list