]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
We defined tried_shgetfolderpath but never actually set it. Harmless, but fixed.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 8 Nov 2009 19:25:22 +0000 (19:25 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 8 Nov 2009 19:25:22 +0000 (19:25 +0000)
[originally from svn r8740]

windows/winstore.c

index 5477f113bf4a29618d6c43124491b2a8f4c8ca18..d011dbfa9cd8ba85603b67c8f87ec28c09c869b5 100644 (file)
@@ -499,6 +499,7 @@ static HANDLE access_random_seed(int action)
         * so stuff that. */
        shell32_module = LoadLibrary("SHELL32.DLL");
        GET_WINDOWS_FUNCTION(shell32_module, SHGetFolderPathA);
+       tried_shgetfolderpath = TRUE;
     }
     if (p_SHGetFolderPathA) {
        if (SUCCEEDED(p_SHGetFolderPathA(NULL, CSIDL_LOCAL_APPDATA,