summaryrefslogtreecommitdiffstats
path: root/win/CS/frmMain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/frmMain.cs')
-rw-r--r--win/CS/frmMain.cs2
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.