summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AssocMgr/utils.h')
-rw-r--r--plugins/AssocMgr/utils.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/AssocMgr/utils.h b/plugins/AssocMgr/utils.h
index 0c2682c4a8..f65a29ebec 100644
--- a/plugins/AssocMgr/utils.h
+++ b/plugins/AssocMgr/utils.h
@@ -26,13 +26,10 @@ WCHAR* a2u(const char *pszAnsi,BOOL fMirCp);
char* u2a(const WCHAR *pszUnicode,BOOL fMirCp);
TCHAR* s2t(const void *pszStr,DWORD fUnicode,BOOL fMirCp);
void* t2s(const TCHAR *pszStr,DWORD fUnicode,BOOL fMirCp);
-#ifdef _UNICODE
+
#define t2a(s) u2a(s,FALSE)
#define a2t(s) a2u(s,FALSE)
-#else
- #define t2a(s) mir_strdup(s)
- #define a2t(s) mir_strdup(s)
-#endif
+
/* Database */
BOOL EnumDbPrefixSettings(const char *pszModule,const char *pszSettingPrefix,char ***pSettings,int *pnSettingsCount);