From: jacob Date: Sun, 8 Nov 2009 19:25:22 +0000 (+0000) Subject: We defined tried_shgetfolderpath but never actually set it. Harmless, but fixed. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/a6c15e850b1b8b7cdab0a627ad59448a40e5106d We defined tried_shgetfolderpath but never actually set it. Harmless, but fixed. git-svn-id: svn://svn.tartarus.org/sgt/putty@8740 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windows/winstore.c b/windows/winstore.c index 5477f113..d011dbfa 100644 --- a/windows/winstore.c +++ b/windows/winstore.c @@ -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,