diff options
author | sr55 <[email protected]> | 2009-04-01 23:48:34 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-04-01 23:48:34 +0000 |
commit | 414d6a56cc67f2fa56353ee3ce80adaa8cfeb45f (patch) | |
tree | 171172730223e0e525b68f4afb3ea6ff2e5ccc9c /win/C#/Parsing/Title.cs | |
parent | 683faec1c917365b32332d86693e72479ba315bf (diff) |
WinGui:
- Just some minor code tweaks to clean things up.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2291 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Parsing/Title.cs')
-rw-r--r-- | win/C#/Parsing/Title.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/C#/Parsing/Title.cs b/win/C#/Parsing/Title.cs index 74ccab752..80736064b 100644 --- a/win/C#/Parsing/Title.cs +++ b/win/C#/Parsing/Title.cs @@ -126,7 +126,7 @@ namespace Handbrake.Parsing if (m.Success)
thisTitle.m_titleNumber = int.Parse(m.Groups[1].Value.Trim());
- String testData = output.ReadLine();
+ output.ReadLine();
// Get duration for this title
@@ -146,7 +146,7 @@ namespace Handbrake.Parsing // Get autocrop region for this title
m = Regex.Match(output.ReadLine(), @"^ \+ autocrop: ([0-9]*)/([0-9]*)/([0-9]*)/([0-9]*)");
if (m.Success)
- thisTitle.m_autoCrop = new int[4]
+ thisTitle.m_autoCrop = new int[]
{
int.Parse(m.Groups[1].Value), int.Parse(m.Groups[2].Value),
int.Parse(m.Groups[3].Value), int.Parse(m.Groups[4].Value)
|