diff options
author | sr55 <[email protected]> | 2007-08-29 17:14:42 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2007-08-29 17:14:42 +0000 |
commit | c2501467f65a24f2e098b0932da4908ae430ad3c (patch) | |
tree | 1cde86d069ec3123dc4f10b2b1c66f46e03ee1e2 /win/C#/Parsing/Subtitle.cs | |
parent | 8d1c8819a2695068d7999e74368bdb4401827f05 (diff) |
WinGui:
- Gui debug more added to tools > options.
- More exception handling added
- frmReadDVD is now automatic. User no longer has to manually start scan process.
- Re-enabled onwindow scan status message. Removed Message box which alerts scan status.
- Few other small code tweaks.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@893 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Parsing/Subtitle.cs')
-rw-r--r-- | win/C#/Parsing/Subtitle.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/Parsing/Subtitle.cs b/win/C#/Parsing/Subtitle.cs index a30fd7882..8fb889f8f 100644 --- a/win/C#/Parsing/Subtitle.cs +++ b/win/C#/Parsing/Subtitle.cs @@ -51,7 +51,7 @@ namespace Handbrake.Parsing if (m.Success && !curLine.Contains("HandBrake has exited."))
{
Subtitle thisSubtitle = new Subtitle();
- thisSubtitle.m_trackNumber = int.Parse(m.Groups[1].Value);
+ thisSubtitle.m_trackNumber = int.Parse(m.Groups[1].Value.Trim().ToString());
thisSubtitle.m_language = m.Groups[2].Value;
return thisSubtitle;
}
|