summaryrefslogtreecommitdiffstats
path: root/win/CS/frmOptions.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-06-02 19:03:17 +0000
committersr55 <[email protected]>2011-06-02 19:03:17 +0000
commitd567b769982ef6228b5ab6af4a6c41b07dc7ee97 (patch)
treea590a3c3f0509a6860387f7016fbc96a35cd0b29 /win/CS/frmOptions.cs
parent2367252e6137aa96fd8d2eb1ec85d909a77ab697 (diff)
WinGui: Improvements to the AutoName functionality.
- Added more flexibility to the "{source_path}" option so that it can now be used with additional folders listed after it. e.g. "{source_path}\encoded". It is no longer limited to just that folder. - Added an option to put todays date in the output filename "{date}" - Some tweaks to the way warnings are displayed when using these features to make them a bit less annoying. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4017 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/frmOptions.cs')
-rw-r--r--win/CS/frmOptions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/frmOptions.cs b/win/CS/frmOptions.cs
index 1bdb894b3..a0753cfcc 100644
--- a/win/CS/frmOptions.cs
+++ b/win/CS/frmOptions.cs
@@ -313,7 +313,7 @@ namespace Handbrake
"Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
- if (text_an_path.Text.ToLower().Contains("{source_path}") && text_an_path.Text.ToLower() != "{source_path}")
+ if (text_an_path.Text.ToLower().Contains("{source_path}") && !text_an_path.Text.StartsWith("{source_path}"))
{
MessageBox.Show("Note you can not use the {source_path} within a path. {source_path} is the full source file path.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}