From 11fcecff7c310c2cc10bda2ab2fa2daf525be571 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 13 Mar 2013 08:00:41 +0000 Subject: - another portion of '#ifdef UNICODE' clean up git-svn-id: http://svn.miranda-ng.org/main/trunk@3993 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/hdr/modern_commonheaders.h | 6 +----- plugins/Clist_modern/src/hdr/modern_tstring.h | 8 -------- 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'plugins/Clist_modern/src') diff --git a/plugins/Clist_modern/src/hdr/modern_commonheaders.h b/plugins/Clist_modern/src/hdr/modern_commonheaders.h index b8088cc8ff..83bbdbd1dd 100644 --- a/plugins/Clist_modern/src/hdr/modern_commonheaders.h +++ b/plugins/Clist_modern/src/hdr/modern_commonheaders.h @@ -182,11 +182,7 @@ int CLUI_ShowWindowMod(HWND hwnd, int cmd); void MakeButtonSkinned(HWND hWnd); -#ifdef UNICODE - #define GSMDF_TCHAR_MY GSMDF_TCHAR|CNF_UNICODE -#else - #define GSMDF_TCHAR_MY 0 -#endif +#define GSMDF_TCHAR_MY GSMDF_TCHAR|CNF_UNICODE #ifndef LWA_COLORKEY #define LWA_COLORKEY 0x00000001 diff --git a/plugins/Clist_modern/src/hdr/modern_tstring.h b/plugins/Clist_modern/src/hdr/modern_tstring.h index 17fc9cf50c..00948179d8 100644 --- a/plugins/Clist_modern/src/hdr/modern_tstring.h +++ b/plugins/Clist_modern/src/hdr/modern_tstring.h @@ -4,7 +4,6 @@ #include "MString.h" -#ifdef UNICODE typedef CMStringA astring; typedef CMStringW wstring; @@ -49,10 +48,3 @@ public: operator mbstring() { return mbstring( this->c_str()); } }; -#else -typedef CMStringA astring; -typedef CMStringA wstring; -typedef CMStringA tstring; -typedef CMStringA mbstring; - -#endif -- cgit v1.2.3