diff options
author | sr55 <[email protected]> | 2009-10-16 21:07:17 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-10-16 21:07:17 +0000 |
commit | f33e439878afdf2161708519353007f8d83f6447 (patch) | |
tree | ca86c11c5cdf9f147ce718f55f74686bc825ac05 /win/C#/Controls/Subtitles.cs | |
parent | 476577f3d16c046d63a58a92908519a571682b01 (diff) |
WinGui:
- Fixed a small error when selecting the correct array index when checking which subtitle track is selected.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2889 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Controls/Subtitles.cs')
-rw-r--r-- | win/C#/Controls/Subtitles.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/Controls/Subtitles.cs b/win/C#/Controls/Subtitles.cs index f5fbb33a6..fedfdc927 100644 --- a/win/C#/Controls/Subtitles.cs +++ b/win/C#/Controls/Subtitles.cs @@ -111,7 +111,7 @@ namespace Handbrake.Controls SubtitleInfo track = SubList[lv_subList.SelectedIndices[0]];
int c = 0;
- if (lv_subList.Items[lv_subList.SelectedIndices[0]].SubItems[1].Text.ToLower().Contains(".srt")) // We have an SRT
+ if (lv_subList.Items[lv_subList.SelectedIndices[0]].SubItems[0].Text.ToLower().Contains(".srt")) // We have an SRT
{
foreach (var item in drp_subtitleTracks.Items)
{
|