summaryrefslogtreecommitdiff
path: root/plugins/Modernb/modern_gdiplus.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 11:13:37 +0000
commit721aea0764451e985d575236205808bbef298244 (patch)
tree3a1c566c364e5fc2fff86b87d494497e7de6f93d /plugins/Modernb/modern_gdiplus.cpp
parent1784cdf49b8196219563795cf3b11b7c4c2a6746 (diff)
one more "#ifsef Unicode" removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@409 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Modernb/modern_gdiplus.cpp')
-rw-r--r--plugins/Modernb/modern_gdiplus.cpp12
1 files changed, 0 insertions, 12 deletions
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;