X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/a6c15e850b1b8b7cdab0a627ad59448a40e5106d..65ff63e30551c92eff6e0869b4c753218b760547:/windows/winstore.c?ds=sidebyside diff --git a/windows/winstore.c b/windows/winstore.c index d011dbfa..6e804346 100644 --- a/windows/winstore.c +++ b/windows/winstore.c @@ -497,7 +497,7 @@ 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; }