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/Chapter.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/Chapter.cs')
-rw-r--r-- | win/C#/Parsing/Chapter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/Parsing/Chapter.cs b/win/C#/Parsing/Chapter.cs index 665841e97..6496354c9 100644 --- a/win/C#/Parsing/Chapter.cs +++ b/win/C#/Parsing/Chapter.cs @@ -50,7 +50,7 @@ namespace Handbrake.Parsing if (m.Success)
{
Chapter thisChapter = new Chapter();
- thisChapter.m_chapterNumber = int.Parse(m.Groups[1].Value);
+ thisChapter.m_chapterNumber = int.Parse(m.Groups[1].Value.Trim().ToString());
thisChapter.m_duration = TimeSpan.Parse(m.Groups[5].Value);
return thisChapter;
}
|