]> git.pld-linux.org Git - packages/crossmingw32-wxWidgets.git/blame - wxWidgets-gifdelay.patch
- updated to 3.2.4
[packages/crossmingw32-wxWidgets.git] / wxWidgets-gifdelay.patch
CommitLineData
f85a8810
JB
1--- wxWidgets-3.0.0/src/html/m_image.cpp.orig 2013-11-11 14:10:39.000000000 +0100
2+++ wxWidgets-3.0.0/src/html/m_image.cpp 2014-02-06 19:55:34.160255248 +0100
3@@ -403,8 +403,8 @@
4 {
5 m_gifTimer = new wxGIFTimer(this);
6 long delay = m_gifDecoder->GetDelay(0);
7- if ( delay == 0 )
8- delay = 1;
9+ if ( delay < 10 )
10+ delay = 10;
11 m_gifTimer->Start(delay, true);
12 }
13 else
14@@ -534,8 +534,8 @@
15 }
16
17 long delay = m_gifDecoder->GetDelay(m_nCurrFrame);
18- if ( delay == 0 )
19- delay = 1;
20+ if ( delay < 10 )
21+ delay = 10;
22 timer->Start(delay, true);
23 }
52286129 24 #endif
This page took 0.087636 seconds and 4 git commands to generate.