loader/wine.inf: add %AppData%\Microsoft and %LocalAppData%\Microsoft folders (try 2)
Austin English
austinenglish at gmail.com
Sun Mar 23 19:07:31 CDT 2014
For https://bugs.winehq.org/show_bug.cgi?id=35809
try 2: don't use undocumented dirid's
--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140323/0cbc54a7/attachment.html>
-------------- next part --------------
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index afa2543..7664cae 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -2265,8 +2265,8 @@ HRESULT WINAPI SHGetFolderPathAndSubDirW(
if (FAILED(hr)) goto end;
if(pszSubPath) {
- /* make sure the new path does not exceed th bufferlength
- * rememebr to backslash and the termination */
+ /* make sure the new path does not exceed the bufferlength
+ * remember to backslash and to terminate it */
if(MAX_PATH < (lstrlenW(szBuildPath) + lstrlenW(pszSubPath) + 2)) {
hr = HRESULT_FROM_WIN32(ERROR_FILENAME_EXCED_RANGE);
goto end;
diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index d6e6994..7569674 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -2516,6 +2516,8 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,tasks,
11,spool\drivers\color,
11,spool\printers,
+53,Local Settings\Application Data\Microsoft,
+16419,Microsoft,
10,,explorer.exe
10,,hh.exe
10,,notepad.exe
More information about the wine-patches
mailing list