summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.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/ViewModels/ChaptersViewModel.cs
parent2c2947ac86ffbf4f5fa9111847ac31efd75c7d05 (diff)
WinGui: Fix a large number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs
index 037bacde0..da65e2945 100644
--- a/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs
@@ -208,8 +208,10 @@ namespace HandBrakeWPF.ViewModels
string validationErrorMessage;
if (!this.ValidateImportedChapters(importedChapters, out validationErrorMessage))
{
- if( !string.IsNullOrEmpty(validationErrorMessage))
- throw new GeneralApplicationException(Resources.ChaptersViewModel_ValidationFailedWarning, validationErrorMessage);
+ if (!string.IsNullOrEmpty(validationErrorMessage))
+ throw new GeneralApplicationException(
+ Resources.ChaptersViewModel_ValidationFailedWarning,
+ validationErrorMessage);
// The user has cancelled the import, so exit
return;