diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs index 023325c9b..30efc9200 100644 --- a/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/ChaptersViewModel.cs @@ -247,7 +247,7 @@ namespace HandBrakeWPF.ViewModels if (importedChapters.TryGetValue(item.ChapterNumber, out chapterInfo))
chapterName = chapterInfo.Item1;
- // Assign the chapter name unless the name is not set or only whitespace charaters
+ // Assign the chapter name unless the name is not set or only whitespace characters
item.ChapterName = !string.IsNullOrWhiteSpace(chapterName) ? chapterName : string.Empty;
}
}
|