summaryrefslogtreecommitdiffstats
path: root/win/C#/frmMain.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-09-09 08:17:22 +0000
committersr55 <[email protected]>2009-09-09 08:17:22 +0000
commit984f3785bf4030322920ac77601b0dc88fbd8b45 (patch)
treefe5bdd19d11685b0e492069ee9c052c09d3cba10 /win/C#/frmMain.cs
parentc46fb4570f1852083a83960de0124145ab0aa85a (diff)
WinGui:
- Remove extra param from selectSource git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2810 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r--win/C#/frmMain.cs8
1 files changed, 4 insertions, 4 deletions
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";