From 4e0aef28194077beaaaa07775f819c3a4cf934e9 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 21 Sep 2013 15:49:11 +0000 Subject: using Uxtheme in core git-svn-id: http://svn.miranda-ng.org/main/trunk@6158 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/utils/path.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/utils/path.cpp') diff --git a/src/modules/utils/path.cpp b/src/modules/utils/path.cpp index 40c591a1e4..8eebd9ef09 100644 --- a/src/modules/utils/path.cpp +++ b/src/modules/utils/path.cpp @@ -131,7 +131,7 @@ static __forceinline char *GetProfileDirX(char*) static __forceinline char *SHGetSpecialFolderPathX(int iCSIDL, char* var) { char result[512]; - if (shGetSpecialFolderPathA && shGetSpecialFolderPathA(NULL, result, iCSIDL, FALSE)) + if (SHGetSpecialFolderPathA(NULL, result, iCSIDL, FALSE)) return mir_strdup(result); return NULL; } @@ -209,7 +209,7 @@ static __forceinline TCHAR *GetEnvironmentVariableX(TCHAR *variable) static __forceinline TCHAR *SHGetSpecialFolderPathX(int iCSIDL, TCHAR* var) { TCHAR result[512]; - if (shGetSpecialFolderPath && shGetSpecialFolderPath(NULL, result, iCSIDL, FALSE)) + if (SHGetSpecialFolderPath(NULL, result, iCSIDL, FALSE)) return mir_tstrdup(result); return NULL; } -- cgit v1.2.3