X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=win%2FC%23%2FfrmMain.cs;h=1a1cfae47111132a432eb258c93120890b4f05b5;hb=4f0019f03c2e85e8634150ff0c9a31bee6d35ce5;hp=94b7400596bdefdc2ed0a9f054568794371d3a69;hpb=f98875857c4ba813d0c24992523222ad7e252599;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 94b74005..1a1cfae4 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; @@ -1660,7 +1660,6 @@ namespace Handbrake } AudioSettings.SetContainer(drop_format.Text); - Subtitles.SetContainer(drop_format.SelectedIndex); if (drop_format.Text.Contains("MP4")) {