X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed39ff57b30a70a2395e07887a70bc01e7a3b7ec..076fdb21829a408cdd14f0dbcad6888f44686c9a:/src/common/gifdecod.cpp?ds=sidebyside 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;