fix bug in recent roms explore option for paths with commas

This commit is contained in:
zeromus 2014-10-01 22:27:31 +00:00
parent 5ebb1b1e2e
commit 29307e4935
1 changed files with 2 additions and 1 deletions

View File

@ -83,7 +83,8 @@ namespace BizHawk.Client.EmuHawk.ToolExtensions
//make a menuitem to let you explore to it
var tsmiExplore = new ToolStripMenuItem { Text = "&Explore" };
tsmiExplore.Click += (o, ev) => { System.Diagnostics.Process.Start("explorer.exe", "/select, " + hf.FullPathWithoutMember); };
string explorePath = "\"" + hf.FullPathWithoutMember + "\"";
tsmiExplore.Click += (o, ev) => { System.Diagnostics.Process.Start("explorer.exe", "/select, " + explorePath); };
tsdd.Items.Add(tsmiExplore);
var tsmiCopyFile = new ToolStripMenuItem { Text = "Copy &File" };