mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 09:12:24 +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. */
|
* so stuff that. */
|
||||||
shell32_module = LoadLibrary("SHELL32.DLL");
|
shell32_module = LoadLibrary("SHELL32.DLL");
|
||||||
GET_WINDOWS_FUNCTION(shell32_module, SHGetFolderPathA);
|
GET_WINDOWS_FUNCTION(shell32_module, SHGetFolderPathA);
|
||||||
|
tried_shgetfolderpath = TRUE;
|
||||||
}
|
}
|
||||||
if (p_SHGetFolderPathA) {
|
if (p_SHGetFolderPathA) {
|
||||||
if (SUCCEEDED(p_SHGetFolderPathA(NULL, CSIDL_LOCAL_APPDATA,
|
if (SUCCEEDED(p_SHGetFolderPathA(NULL, CSIDL_LOCAL_APPDATA,
|
||||||
|
Loading…
Reference in New Issue
Block a user