summaryrefslogtreecommitdiffstats
path: root/win/C#/Controls/Subtitles.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-09-21 17:37:48 +0000
committersr55 <[email protected]>2009-09-21 17:37:48 +0000
commitd7c7f8f118a688a3097c7a47b8a5aefcb4ca2825 (patch)
treeeb759832c084cbd7a0fe21e828a51ada38a26eb5 /win/C#/Controls/Subtitles.cs
parent1ab19c13e332432230ef443483c65135a22d3e00 (diff)
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
Diffstat (limited to 'win/C#/Controls/Subtitles.cs')
-rw-r--r--win/C#/Controls/Subtitles.cs2
1 files changed, 1 insertions, 1 deletions
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)"))