summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_gdiplus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-06 22:23:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-06 22:23:39 +0000
commitb8a20c7e3e0dca06effc09868bc5cf1702be30cf (patch)
tree3fc23f24f6aaff7c0796d1fbedfd907cda9d86f4 /plugins/Clist_modern/modern_gdiplus.cpp
parentf6943a588688a64a0154a0bc3a2a56ad8727e9fa (diff)
more correct autoformatter
git-svn-id: http://svn.miranda-ng.org/main/trunk@803 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_gdiplus.cpp')
-rw-r--r--plugins/Clist_modern/modern_gdiplus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/modern_gdiplus.cpp b/plugins/Clist_modern/modern_gdiplus.cpp
index b62bed4231..e9b9446d33 100644
--- a/plugins/Clist_modern/modern_gdiplus.cpp
+++ b/plugins/Clist_modern/modern_gdiplus.cpp
@@ -231,7 +231,7 @@ BOOL GDIPlus_IsAnimatedGif (TCHAR * szName)
return (BOOL) (nFrameCount > 1);
}
-void GDIPlus_ExtractAnimatedGif (TCHAR * szName, int width, int height, HBITMAP * pBitmap, int ** pframesDelay, int * pframesCount, SIZE * pSizeAvatar)
+void GDIPlus_ExtractAnimatedGIF (TCHAR * szName, int width, int height, HBITMAP * pBitmap, int ** pframesDelay, int * pframesCount, SIZE * pSizeAvatar)
{
int nFrameCount = 0;
Bitmap image(szName);
@@ -285,7 +285,7 @@ void GDIPlus_ExtractAnimatedGif (TCHAR * szName, int width, int height, HBITMAP
if ( nFrameCount > 1 )
image.SelectActiveFrame(&pageGuid, 1 );
- for (int i = 0; i < nFrameCount; i++)
+ for (int i=0; i < nFrameCount; i++)
{
image.SelectActiveFrame( &pageGuid, i );
graphics.DrawImage( &image, Rect(i*clipWidth, 0,clipWidth,clipHeight ), 0, 0, imWidth, imHeight , UnitPixel, &attr);