The special treatment of Alt-resize (to cause resizing to affect the
[u/mdw/putty] / windows / winstore.c
index 5477f11..6e80434 100644 (file)
@@ -497,8 +497,9 @@ static HANDLE access_random_seed(int action)
         * on older versions of Windows if we cared enough.
         * However, the invocation below requires IE5+ anyway,
         * so stuff that. */
-       shell32_module = LoadLibrary("SHELL32.DLL");
+       shell32_module = load_system32_dll("shell32.dll");
        GET_WINDOWS_FUNCTION(shell32_module, SHGetFolderPathA);
+       tried_shgetfolderpath = TRUE;
     }
     if (p_SHGetFolderPathA) {
        if (SUCCEEDED(p_SHGetFolderPathA(NULL, CSIDL_LOCAL_APPDATA,