That shit was deprecated back in Windows XP! Service pack nothing, I'm talking RELEASE DAY.

This commit is contained in:
Ben "root" Anderson
2015-01-29 15:29:33 -06:00
parent 8b846cde08
commit 615d4e6ef6
+2 -2
View File
@@ -6,8 +6,8 @@ static RString GetSpecialFolderPath( int csidl )
{
RString sDir;
TCHAR szDir[MAX_PATH] = "";
BOOL bResult = SHGetSpecialFolderPath( NULL, szDir, csidl, FALSE );
ASSERT( bResult );
HRESULT hResult = SHGetFolderPath( NULL, csidl, NULL, SHGFP_TYPE_CURRENT, szDir );
ASSERT( hResult == S_OK );
sDir = szDir;
sDir += "/";
return sDir;