diff options
author | sr55 <[email protected]> | 2012-03-10 16:15:42 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-03-10 16:15:42 +0000 |
commit | a3f2fa978a733e2461d68be2bf2ce39bdf540a0b (patch) | |
tree | 188762f474905ccdd9a48dd1880f3f5184454b61 /win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs | |
parent | ae344e17e55b77c982640f3a7f9ad4156681a1c7 (diff) |
WinGui: (WPF) Preview pane grouping added.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4503 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs b/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs index 589c698e2..3fb62e151 100644 --- a/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs +++ b/win/CS/HandBrakeWPF/Helpers/AutoNameHelper.cs @@ -52,8 +52,7 @@ namespace HandBrakeWPF.Helpers {
// Get the Source Name and remove any invalid characters
string sourceName = Path.GetInvalidFileNameChars().Aggregate(sourceOrLabelName, (current, character) => current.Replace(character.ToString(), string.Empty));
- sourceName = Path.GetFileNameWithoutExtension(sourceName);
-
+
// Remove Underscores
if (userSettingService.GetUserSetting<bool>(UserSettingConstants.AutoNameRemoveUnderscore))
sourceName = sourceName.Replace("_", " ");
|