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:
parent
62ad3cb358
commit
b78ce094c7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user