diff options
author | sr55 <[email protected]> | 2007-12-06 14:14:25 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-12-06 14:14:25 +0000 |
commit | f3d8e93d431542282d1a4e7a6fc7753a41567bb7 (patch) | |
tree | f4c21592e81d6ade1eacead14afc23e2afbabf19 /win/C#/Functions/QueryParser.cs | |
parent | e377ddbb64e57962d48e7d3830b5b7880689e4e2 (diff) |
WinGui:
- Fixed bug in Query Parser in relation to Titles (Error when 1 was set to auto)
- Added Batch Script creation option on the Queue.
- Added Toolbar to the queue (similar to the MacGui) and removed some old style buttons that are now on the toolbar.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1100 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/QueryParser.cs')
-rw-r--r-- | win/C#/Functions/QueryParser.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs index f49115ac8..174f92218 100644 --- a/win/C#/Functions/QueryParser.cs +++ b/win/C#/Functions/QueryParser.cs @@ -595,7 +595,13 @@ namespace Handbrake.Functions actTitles = chapters.ToString().Replace("-c ", "").Split('-');
thisQuery.q_chaptersStart = int.Parse(actTitles[0]);
if (actTitles.Length > 1)
+ {
+ MessageBox.Show(actTitles[1]);
thisQuery.q_chaptersFinish = int.Parse(actTitles[1]);
+ }
+
+ if ((thisQuery.q_chaptersStart == 1) && (thisQuery.q_chaptersFinish == 0))
+ thisQuery.q_chaptersFinish = thisQuery.q_chaptersStart;
}
if (format.Success != false)
|