diff options
author | sr55 <[email protected]> | 2008-04-24 15:45:07 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-04-24 15:45:07 +0000 |
commit | d78f17e7b51c3e6574d527a0bc666e79015f670a (patch) | |
tree | 142576114290d2b717bf020ff1f875f9d8c1bba0 /win/C# | |
parent | c9fd9179ac5c296609da5dc414819202ef992b98 (diff) |
WinGui:
- Fixed bug in user presets where it could remove any preset with a similar name as well as the one selected.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1434 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#')
-rw-r--r-- | win/C#/frmMain.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index cb8dd7e33..1dd9b2b61 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -1446,7 +1446,7 @@ namespace Handbrake int c = 0;
foreach (string item in user_presets)
{
- string preset_name = selectedPreset.Replace("--", "");
+ string preset_name = "+ " + selectedPreset.Replace("--", "").Trim() + ":";
if (item.Contains(preset_name))
modified_presets_list.RemoveAt(c);
c++;
|