File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,9 @@ function parseVTT(text)
122
122
lines = text .tokenize (Chr (0 ))[0 ]
123
123
lines = lines .tokenize (Chr (10 ))
124
124
size = lines .count ()
125
- for i = 2 to size - 1
125
+ curStart = 0
126
+ curEnd = 0
127
+ for i = 0 to size - 1
126
128
if isTime (lines [i ])
127
129
curStart = ms (lines [i ].left (12 ))
128
130
curEnd = ms (lines [i ].mid (17 , 12 ))
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ sub Main (args as dynamic) as void
48
48
if filename .count () > 0
49
49
filename = filename [1 ]
50
50
ext = right (filename , 4 )
51
- APIRequest ("FallbackFont/Fonts/" + filename ).gettofile ("tmp:/font" + ext )
51
+ APIRequest ("FallbackFont/Fonts/" + filename ).asyncgettofile ("tmp:/font" + ext )
52
52
end if
53
53
54
54
' Only show the Whats New popup the first time a user runs a new client version.
You can’t perform that action at this time.
0 commit comments