From ef52fd44af405f847236089fb587f91028c5edc8 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Wed, 8 Apr 2020 17:20:38 +0300 Subject: code cleaning --- plugins/Clist_blind/src/init.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'plugins/Clist_blind/src') diff --git a/plugins/Clist_blind/src/init.cpp b/plugins/Clist_blind/src/init.cpp index 55808a265e..f5ceb6f379 100644 --- a/plugins/Clist_blind/src/init.cpp +++ b/plugins/Clist_blind/src/init.cpp @@ -441,9 +441,7 @@ wchar_t* GetStatusMessage(struct ClcContact *item) wchar_t proto_name[128]; wchar_t* GetProtoName(struct ClcContact *item) { - #ifdef UNICODE char description[128]; - #endif proto_name[0] = '\0'; if (item->hContact == NULL || item->pce->szProto == nullptr) { @@ -453,12 +451,8 @@ wchar_t* GetProtoName(struct ClcContact *item) PROTOACCOUNT *acc = Proto_GetAccount(item->pce->szProto); if (acc == nullptr) { - #ifdef UNICODE CallProtoService(item->pce->szProto, PS_GETNAME, sizeof(description), (LPARAM)description); mir_snwprintf(proto_name, L"%S", description); - #else - CallProtoService(item->proto, PS_GETNAME, sizeof(proto_name), (LPARAM)proto_name); - #endif return proto_name; } -- cgit v1.2.3