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
This commit is contained in:
Julian Smart 2003-04-05 18:59:50 +00:00
parent 62ad3cb358
commit b78ce094c7

View 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;