From 872e35f0e7ba41cc94ae5d56b63e10f978fd2be1 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 22 Oct 2005 13:25:10 +0000 Subject: [PATCH] it's SHGetSpecialFolderLocation not SHGetSpecialFolderPath git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4356 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/exehead/Main.c b/Source/exehead/Main.c index 7c957763..0c89b6cb 100644 --- a/Source/exehead/Main.c +++ b/Source/exehead/Main.c @@ -93,13 +93,13 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInst,LPSTR lpszCmdParam, // workaround for bug #1008632 // http://sourceforge.net/tracker/index.php?func=detail&aid=1008632&group_id=22049&atid=373085 // - // without this, SHGetSpecialFolderPath doesn't always recognize some - // special folders, like the desktop folder for all users, on Windows - // 9x. unlike SHGetSpecialFolderPath, which is not available on all - // versions of Windows, SHGetSpecialFolderLocation doesn't try too - // hard to make sure the caller gets what he asked for. so we give it - // a little push in the right direction by doing part of the work for - // it. + // without this, SHGetSpecialFolderLocation doesn't always recognize + // some special folders, like the desktop folder for all users, on + // Windows 9x. unlike SHGetSpecialFolderPath, which is not available + // on all versions of Windows, SHGetSpecialFolderLocation doesn't try + // too hard to make sure the caller gets what he asked for. so we give + // it a little push in the right direction by doing part of the work + // for it. // // part of what SHGetFileInfo does, is to convert a path into an idl. // to do this conversion, it first needs to initialize the list of