From: Julian Smart Date: Sat, 5 Apr 2003 18:59:50 +0000 (+0000) Subject: Fix for getting all frames from GIF animation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b78ce094c761b51f1aa31aec823352bd6baa108a?ds=inline Fix for getting all frames from GIF animation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/gifdecod.cpp b/src/common/gifdecod.cpp index 229050812f..05c4073524 100644 --- a/src/common/gifdecod.cpp +++ b/src/common/gifdecod.cpp @@ -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;