]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for getting all frames from GIF animation
authorJulian Smart <julian@anthemion.co.uk>
Sat, 5 Apr 2003 18:59:50 +0000 (18:59 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 5 Apr 2003 18:59:50 +0000 (18:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/gifdecod.cpp

index 229050812f200b935d9cee6a648858e3edb8386f..05c4073524e5be2ea98f76774cbe2c2d649cc34a 100644 (file)
@@ -280,7 +280,7 @@ bool wxGIFDecoder::GoFrame(int which)
     {
         m_pimage = m_pfirst;
 
-        for (i = 1; i < which; i++)
+        for (i = 0; i < which; i++)
             m_pimage = m_pimage->next;
 
         return TRUE;