From d7c7f8f118a688a3097c7a47b8a5aefcb4ca2825 Mon Sep 17 00:00:00 2001 From: sr55 Date: Mon, 21 Sep 2009 17:37:48 +0000 Subject: WinGui: - Fix a small bug in the code which sets the m4v when required for srt subs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2832 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/Controls/Subtitles.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/C#/Controls/Subtitles.cs') diff --git a/win/C#/Controls/Subtitles.cs b/win/C#/Controls/Subtitles.cs index e23718c0a..efe63df15 100644 --- a/win/C#/Controls/Subtitles.cs +++ b/win/C#/Controls/Subtitles.cs @@ -63,7 +63,7 @@ namespace Handbrake.Controls { foreach (ListViewItem item in lv_subList.Items) { - if (!string.IsNullOrEmpty(item.SubItems[5].Text)) + if (item.SubItems.Count != 5) return true; if (item.SubItems[1].Text.Contains("(Text)")) -- cgit v1.2.3