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:
parent
b85038d8a9
commit
8b68066205
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user