From 2bc6c7923d3039c020e90a434af24223ee26a094 Mon Sep 17 00:00:00 2001 From: Neil Burrows Date: Sat, 26 Jun 2021 08:09:59 +0100 Subject: [PATCH] Correct typo in variable name --- source/utils/Subtitles.brs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/Subtitles.brs b/source/utils/Subtitles.brs index 2ca09e5d..45057b90 100644 --- a/source/utils/Subtitles.brs +++ b/source/utils/Subtitles.brs @@ -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