]> granicus.if.org Git - handbrake/commitdiff
WinGui:
authorsr55 <sr55.hb@outlook.com>
Thu, 15 May 2008 23:41:54 +0000 (23:41 +0000)
committersr55 <sr55.hb@outlook.com>
Thu, 15 May 2008 23:41:54 +0000 (23:41 +0000)
- Fix for http://forum.handbrake.fr/viewtopic.php?f=12&t=6086

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1461 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/frmMain.cs

index e0b4f551fd1813c743eb61b01bb343b2811227f1..76bb5f26c927c34da3ed9d67691623b6c1d75439 100644 (file)
@@ -498,7 +498,7 @@ namespace Handbrake
         }\r
         private void drp_dvdtitle_Click(object sender, EventArgs e)\r
         {\r
-            if ((drp_dvdtitle.Items.Count == 1) && ((string)drp_dvdtitle.Items[0] == "Automatic"))\r
+            if ((drp_dvdtitle.Items.Count == 1) && (drp_dvdtitle.Items[0].ToString() == "Automatic"))\r
                 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);\r
         }\r
         private void drp_dvdtitle_SelectedIndexChanged(object sender, EventArgs e)\r