We defined tried_shgetfolderpath but never actually set it. Harmless, but fixed.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 8 Nov 2009 19:25:22 +0000 (19:25 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 8 Nov 2009 19:25:22 +0000 (19:25 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@8740 cda61777-01e9-0310-a592-d414129be87e

windows/winstore.c

index 5477f11..d011dbf 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,