mirror of https://github.com/odrling/Aegisub
13 lines
470 B
Diff
13 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);
|