From 721aea0764451e985d575236205808bbef298244 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Thu, 14 Jun 2012 11:13:37 +0000 Subject: one more "#ifsef Unicode" removal git-svn-id: http://svn.miranda-ng.org/main/trunk@409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Mwclist/clist.h | 4 +--- plugins/Mwclist/clistsettings.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'plugins/Mwclist') 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; } } -- cgit v1.2.3