summaryrefslogtreecommitdiff
path: root/plugins/Mwclist
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Mwclist')
-rw-r--r--plugins/Mwclist/clist.h4
-rw-r--r--plugins/Mwclist/clistsettings.cpp4
2 files changed, 2 insertions, 6 deletions
diff --git a/plugins/Mwclist/clist.h b/plugins/Mwclist/clist.h
index 9277f7d471..32effbad84 100644
--- a/plugins/Mwclist/clist.h
+++ b/plugins/Mwclist/clist.h
@@ -34,9 +34,7 @@ int GetContactInfosForSort(HANDLE hContact,char **Proto,TCHAR **Name,int *Status
typedef struct {
HANDLE hContact;
TCHAR *name;
- #if defined( _UNICODE )
- char *szName;
- #endif
+ char *szName;
TCHAR* szGroup;
int Hidden;
int noHiddenOffline;
diff --git a/plugins/Mwclist/clistsettings.cpp b/plugins/Mwclist/clistsettings.cpp
index 6f135387b7..24275f4362 100644
--- a/plugins/Mwclist/clistsettings.cpp
+++ b/plugins/Mwclist/clistsettings.cpp
@@ -63,9 +63,7 @@ void FreeDisplayNameCacheItem(ClcCacheEntryBase *_p)
{
pdisplayNameCacheEntry p = (pdisplayNameCacheEntry)_p;
if ( p->name) { mir_free(p->name); p->name = NULL; }
- #if defined( _UNICODE )
- if ( p->szName) { mir_free(p->szName); p->szName = NULL; }
- #endif
+ if ( p->szName) { mir_free(p->szName); p->szName = NULL; }
if ( p->szProto) { mir_free(p->szProto); p->szProto = NULL; }
if ( p->szGroup) { mir_free(p->szGroup); p->szGroup = NULL; }
}