Fix for getting all frames from GIF animation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-04-05 18:59:50 +00:00
parent 5a242608b5
commit f7732c4385

View File

@@ -279,7 +279,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;