diff options
author | sr55 <[email protected]> | 2010-05-28 17:57:42 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-05-28 17:57:42 +0000 |
commit | 7106d89d4fb836e09fe647f1b5bc207025930894 (patch) | |
tree | 0bd427314a133f13d32903854ae67d38c86cf5a1 /win | |
parent | 00c8412d81bd28588281f32eaf4aad1734e6b7d6 (diff) |
WinGui:
- Fixed add to queue destination check code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3330 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win')
-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 94b740059..79be56d09 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -1133,7 +1133,7 @@ namespace Handbrake MessageBox.Show("No source or destination selected.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
else
{
- if (!Directory.Exists(text_destination.Text))
+ if (!Directory.Exists(Path.GetDirectoryName(text_destination.Text)))
{
MessageBox.Show("Destination Path does not exist.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
return;
|