From: sr55 Date: Fri, 28 May 2010 17:57:42 +0000 (+0000) Subject: WinGui: X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4c17316fded5537bbe193166540f47a6dc1992fa;p=handbrake-jp%2Fhandbrake-jp-git.git WinGui: - Fixed add to queue destination check code. git-svn-id: svn://localhost/HandBrake/trunk@3330 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 94b74005..79be56d0 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;