summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-08-17 19:34:13 +0000
committersr55 <[email protected]>2008-08-17 19:34:13 +0000
commit59f4fbb6827811bf0f428c529dbfcccc09eee95e (patch)
tree0def7da314a07dc0c341473095055c0b90a7e645 /win
parent8571ae4f3a3498999b834252a9a07ecc63dcc5dd (diff)
WinGui:
- Fixed stupid mistake with query generator and the dvd chapters being set to auto git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1636 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-rw-r--r--win/C#/Functions/Common.cs6
-rw-r--r--win/C#/HandBrakeCS.sln2
2 files changed, 5 insertions, 3 deletions
diff --git a/win/C#/Functions/Common.cs b/win/C#/Functions/Common.cs
index 8f874aaa3..f0cab1cde 100644
--- a/win/C#/Functions/Common.cs
+++ b/win/C#/Functions/Common.cs
@@ -432,9 +432,11 @@ namespace Handbrake.Functions
query += " -t " + titleInfo[0];
}
- if (mainWindow.drop_chapterFinish.Text == mainWindow.drop_chapterStart.Text)
+ if (mainWindow.drop_chapterFinish.Text == mainWindow.drop_chapterStart.Text && mainWindow.drop_chapterStart.Text != "Auto")
query += " -c " + mainWindow.drop_chapterStart.Text;
- else
+ else if (mainWindow.drop_chapterStart.Text == "Auto" && mainWindow.drop_chapterFinish.Text != "Auto")
+ query += " -c " + "0-" + mainWindow.drop_chapterFinish.Text;
+ else if (mainWindow.drop_chapterStart.Text != "Auto" && mainWindow.drop_chapterFinish.Text != "Auto")
query += " -c " + mainWindow.drop_chapterStart.Text + "-" + mainWindow.drop_chapterFinish.Text;
#endregion
diff --git a/win/C#/HandBrakeCS.sln b/win/C#/HandBrakeCS.sln
index be0c50c6a..81ce84ca6 100644
--- a/win/C#/HandBrakeCS.sln
+++ b/win/C#/HandBrakeCS.sln
@@ -1,6 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual C# Express 2008
+# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HandBrakeCS", "HandBrakeCS.csproj", "{A2923D42-C38B-4B12-8CBA-B8D93D6B13A3}"
EndProject
Global