summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/C#/frmMain.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs
index e0b4f551f..76bb5f26c 100644
--- a/win/C#/frmMain.cs
+++ b/win/C#/frmMain.cs
@@ -498,7 +498,7 @@ namespace Handbrake
}
private void drp_dvdtitle_Click(object sender, EventArgs e)
{
- if ((drp_dvdtitle.Items.Count == 1) && ((string)drp_dvdtitle.Items[0] == "Automatic"))
+ if ((drp_dvdtitle.Items.Count == 1) && (drp_dvdtitle.Items[0].ToString() == "Automatic"))
MessageBox.Show("There are no titles to select. Please scan the DVD by clicking the 'browse' button above before trying to select a title.", "Alert", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
private void drp_dvdtitle_SelectedIndexChanged(object sender, EventArgs e)