Yet another fix of the previous commit.

This commit is contained in:
bubnikv 2018-05-21 23:24:18 +02:00
parent 6b4fe7975f
commit 512b6dfd88

View file

@ -952,7 +952,7 @@ void desktop_open_datadir_folder()
// Enclose the path into single quotes on Unix / OSX. All single quote characters need to be escaped
// inside a file name.
cmd += '\'';
boost::replace_all(path, "'", "\\'");
cmd += boost::replace_all(path, "'", "\\'");
cmd += '\'';
#endif
::wxExecute(wxString::FromUTF8(cmd.c_str()), wxEXEC_ASYNC, nullptr);