diff options
author | sr55 <[email protected]> | 2012-03-10 16:15:06 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-03-10 16:15:06 +0000 |
commit | ae344e17e55b77c982640f3a7f9ad4156681a1c7 (patch) | |
tree | b23650f95865bcb36e30b231c30bbe2e20717f74 /win/CS/frmMain.cs | |
parent | 0fd03a51500cf9f071eb506377a342b9b9d19f78 (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/frmMain.cs')
-rw-r--r-- | win/CS/frmMain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/frmMain.cs b/win/CS/frmMain.cs index 475b42019..a142b5d76 100644 --- a/win/CS/frmMain.cs +++ b/win/CS/frmMain.cs @@ -98,7 +98,7 @@ namespace Handbrake if (selectedTitle != null && !string.IsNullOrEmpty(selectedTitle.SourceName))
{
- return Path.GetFileName(selectedTitle.SourceName);
+ return Path.GetFileNameWithoutExtension(selectedTitle.SourceName);
}
// We have a drive, selected as a folder.
|