summaryrefslogtreecommitdiffstats
path: root/win/C#/Controls/Subtitles.cs
diff options
context:
space:
mode:
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)"))