X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/3b2ffe3bea3504e907d8f39c473b9895dfd1d08e..bda368a515dc80afe90f2a35c3eb123b2489aa9f:/windows/winstore.c 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; }