1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

We defined tried_shgetfolderpath but never actually set it. Harmless, but fixed.

[originally from svn r8740]
This commit is contained in:
Jacob Nevins 2009-11-08 19:25:22 +00:00
parent b85038d8a9
commit 8b68066205

View 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,