From 58973a21a30bf95427fd43c456e41e35c386218c Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 15 Jun 2012 18:52:16 +0000 Subject: another portion of "#ifsef Unicode" removal git-svn-id: http://svn.miranda-ng.org/main/trunk@434 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mmap_SA/Import_SA/progress.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/Dbx_mmap_SA/Import_SA/progress.c') diff --git a/plugins/Dbx_mmap_SA/Import_SA/progress.c b/plugins/Dbx_mmap_SA/Import_SA/progress.c index 1417868947..f3f4e9f08a 100644 --- a/plugins/Dbx_mmap_SA/Import_SA/progress.c +++ b/plugins/Dbx_mmap_SA/Import_SA/progress.c @@ -92,12 +92,9 @@ void AddMessage( const char* fmt, ... ) } #endif - #if defined( _UNICODE ) + { TCHAR* str = mir_a2t( msgBuf ); SendMessage( hdlgProgress, PROGM_ADDMESSAGE, 0, ( LPARAM )str ); mir_free( str ); } - #else - SendMessage( hdlgProgress, PROGM_ADDMESSAGE, 0, ( LPARAM )msgBuf ); - #endif } -- cgit v1.2.3