Skip to content

Commit

Permalink
fix comparison of object with number
Browse files Browse the repository at this point in the history
  • Loading branch information
line0 committed May 5, 2015
1 parent 5ab0d72 commit b8f3276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion l0/ASSFoundation/LineContents.lua
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ return function(ASS, ASSFInst, yutilsMissingMsg, createASSClass, re, util, unico
end

if #effTags.transforms>0 or
(t.move and not t.move.startPos:equal(t.move.endPos) and (t.move.startTime<t.move.endTime or t.move.endTime == 0)) or
(t.move and not t.move.startPos:equal(t.move.endPos) and (t.move.startTime<t.move.endTime or t.move.endTime:equal(0))) or
(t.fade and (t.fade.startDuration>0 and not t.fade.startAlpha:equal(t.fade.midAlpha) or
t.fade.endDuration>0 and not t.fade.midAlpha:equal(t.fade.endAlpha))) or
(t.fade_simple and (t.fade_simple.startDuration>0 and not t.fade_simple.startAlpha:equal(t.fade_simple.midAlpha) or
Expand Down

0 comments on commit b8f3276

Please sign in to comment.