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/Modernb/modern_gdiplus.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'plugins/Modernb/modern_gdiplus.cpp') diff --git a/plugins/Modernb/modern_gdiplus.cpp b/plugins/Modernb/modern_gdiplus.cpp index a71561a53d..4ab8604697 100644 --- a/plugins/Modernb/modern_gdiplus.cpp +++ b/plugins/Modernb/modern_gdiplus.cpp @@ -214,13 +214,7 @@ COLORREF __inline _revcolref(COLORREF colref) BOOL GDIPlus_IsAnimatedGIF(TCHAR * szName) { int nFrameCount=0; -#ifndef _UNICODE - WCHAR * temp=mir_a2u(szName); - Image image(temp); - mir_free(temp); -#else Image image(szName); -#endif UINT count = 0; count = image.GetFrameDimensionsCount(); @@ -240,13 +234,7 @@ BOOL GDIPlus_IsAnimatedGIF(TCHAR * szName) void GDIPlus_ExtractAnimatedGIF(TCHAR * szName, int width, int height, HBITMAP * pBitmap, int ** pframesDelay, int * pframesCount, SIZE * pSizeAvatar) { int nFrameCount=0; -#ifndef _UNICODE - WCHAR * temp=mir_a2u(szName); - Bitmap image(temp); - mir_free(temp); -#else Bitmap image(szName); -#endif PropertyItem * pPropertyItem; UINT count = 0; -- cgit v1.2.3