Fix "Explorer Here" from "Folder as Workspace" problem if folder name contains comma
Close #4686, Fix #4249pull/4684/merge
parent
43b2344b23
commit
1c60f3f93e
|
@ -670,7 +670,7 @@ void FileBrowser::popupMenuCmd(int cmdID)
|
|||
if (::PathFileExists(path.c_str()))
|
||||
{
|
||||
TCHAR cmdStr[1024];
|
||||
wsprintf(cmdStr, TEXT("explorer /select,%s"), path.c_str());
|
||||
wsprintf(cmdStr, TEXT("explorer /select,\"%s\""), path.c_str());
|
||||
Command cmd(cmdStr);
|
||||
cmd.run(nullptr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue