summaryrefslogtreecommitdiffstats
path: root/win/CS/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-03-10 16:15:06 +0000
committersr55 <[email protected]>2012-03-10 16:15:06 +0000
commitae344e17e55b77c982640f3a7f9ad4156681a1c7 (patch)
treeb23650f95865bcb36e30b231c30bbe2e20717f74 /win/CS/Functions
parent0fd03a51500cf9f071eb506377a342b9b9d19f78 (diff)
WinGui: (trunk) Fix an issue with Autonaming destination file with multi-dot extensions
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4502 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/Functions')
-rw-r--r--win/CS/Functions/Main.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/win/CS/Functions/Main.cs b/win/CS/Functions/Main.cs
index 42b103498..709f43ae9 100644
--- a/win/CS/Functions/Main.cs
+++ b/win/CS/Functions/Main.cs
@@ -179,7 +179,6 @@ namespace Handbrake.Functions
{
// Get the Source Name and remove any invalid characters
string sourceName = Path.GetInvalidFileNameChars().Aggregate(mainWindow.SourceName, (current, character) => current.Replace(character.ToString(), string.Empty));
- sourceName = Path.GetFileNameWithoutExtension(sourceName);
// Remove Underscores
if (UserSettingService.GetUserSetting<bool>(UserSettingConstants.AutoNameRemoveUnderscore))