summaryrefslogtreecommitdiff
path: root/plugins/Modernb/modern_gdiplus.cpp
diff options
context:
space:
mode:
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;