summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-10-30 20:18:45 +0000
committersr55 <[email protected]>2016-10-30 20:18:45 +0000
commit5cc2fbbca69eaac36d85d63b09cc3af39cee2cf2 (patch)
treeb27c7cb02e6678fe85ef6f1f78b1ed4414572669 /win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs
parent2c2947ac86ffbf4f5fa9111847ac31efd75c7d05 (diff)
WinGui: Fix a large number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs')
-rw-r--r--win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs b/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs
index 816b9ca82..91a4ee1d8 100644
--- a/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs
+++ b/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs
@@ -29,12 +29,9 @@ namespace HandBrakeWPF.Helpers
internal static TimeSpan ParseChapterTimeStart(string chapterStartRaw)
{
// Format: 02:35:05 and 02:35:05.2957333
- return TimeSpan.ParseExact(chapterStartRaw,
- new[]
- {
- @"hh\:mm\:ss", // Handle whole seconds
- @"hh\:mm\:ss\.FFFFFFF" // Handle fraction seconds
- }, CultureInfo.InvariantCulture);
+ return TimeSpan.ParseExact(
+ chapterStartRaw,
+ new[] { @"hh\:mm\:ss", @"hh\:mm\:ss\.FFFFFFF" }, CultureInfo.InvariantCulture); // Handle whole seconds then Handle fraction seconds
}
}
}