From 984f3785bf4030322920ac77601b0dc88fbd8b45 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 9 Sep 2009 08:17:22 +0000 Subject: WinGui: - Remove extra param from selectSource git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2810 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmMain.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'win/C#') diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index b46b5aeab..7116c8688 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -823,14 +823,14 @@ namespace Handbrake private void btn_dvd_source_Click(object sender, EventArgs e) { if (DVD_Open.ShowDialog() == DialogResult.OK) - selectSource(DVD_Open.SelectedPath, 1); + selectSource(DVD_Open.SelectedPath); else UpdateSourceLabel(); } private void btn_file_source_Click(object sender, EventArgs e) { if (ISO_Open.ShowDialog() == DialogResult.OK) - selectSource(ISO_Open.FileName, 2); + selectSource(ISO_Open.FileName); else UpdateSourceLabel(); } @@ -838,9 +838,9 @@ namespace Handbrake { if (!mnu_dvd_drive.Text.Contains("VIDEO_TS")) return; string[] path = mnu_dvd_drive.Text.Split(' '); - selectSource(path[0], 3); + selectSource(path[0]); } - private void selectSource(string file, int type) + private void selectSource(string file) { Check_ChapterMarkers.Enabled = true; lastAction = "scan"; -- cgit v1.2.3