Correct typo in variable name

This commit is contained in:
Neil Burrows 2021-06-26 08:09:59 +01:00
parent f902ae753e
commit 2bc6c7923d

View File

@ -2,7 +2,7 @@
function selectSubtitleTrack(tracks, current = -1) as integer
video = m.scene.focusedChild
trackSelected = selectSubtitleTrackDialog(video.Subtitles, video.SelectedSubtitle)
if trackSelected = invalid or tackSelected = -1 then ' back pressed in Dialog - no selection made
if trackSelected = invalid or trackSelected = -1 then ' back pressed in Dialog - no selection made
return -2
else
return trackSelected - 1