OSDN Git Service

WinGui:
authorsr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 28 May 2010 17:57:42 +0000 (17:57 +0000)
committersr55 <sr55@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 28 May 2010 17:57:42 +0000 (17:57 +0000)
- Fixed add to queue destination check code.

git-svn-id: svn://localhost/HandBrake/trunk@3330 b64f7644-9d1e-0410-96f1-a4d463321fa5

win/C#/frmMain.cs

index 94b7400..79be56d 100644 (file)
@@ -1133,7 +1133,7 @@ namespace Handbrake
                 MessageBox.Show("No source or destination selected.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
             else\r
             {\r
-                if (!Directory.Exists(text_destination.Text))\r
+                if (!Directory.Exists(Path.GetDirectoryName(text_destination.Text)))\r
                 {\r
                     MessageBox.Show("Destination Path does not exist.", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);\r
                     return;\r