Merge branch 'master' into add-brightscript-linter

This commit is contained in:
Anthony Lavado 2021-06-28 20:15:34 -04:00 committed by GitHub
commit ba1a8f649d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ' 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