]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gifdecod.cpp
Remove check for other wxPaintDCs. It should be done in wxWindow instead.
[wxWidgets.git] / 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;