forked from mia/Aegisub
65990cc0eb
csriapi.cpp is removed since the version a one dir up is the correct one, this one wasn't maintained. These patch files were used as base for porting the patches to guliverkli2. Originally committed to SVN as r2288.
12 lines
470 B
Diff
12 lines
470 B
Diff
Index: RTS.cpp
|
|
===================================================================
|
|
--- RTS.cpp (revision 1535)
|
|
+++ RTS.cpp (revision 1536)
|
|
@@ -2283,6 +2283,7 @@
|
|
if(t1 <= 0 && t2 <= 0) {t1 = 0; t2 = m_delay;}
|
|
|
|
if(m_time <= t1) p = p1;
|
|
+ else if (p1 == p2) p = p1; // jfs: avoid rounding error problems sometimes causing subtitles with \pos to jump around a bit
|
|
else if(t1 < m_time && m_time < t2)
|
|
{
|
|
double t = 1.0*(m_time-t1)/(t2-t1);
|