diff options
author | bubnikv <bubnikv@gmail.com> | 2018-05-22 00:40:17 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-05-22 00:40:17 +0300 |
commit | b694f1ac893420c73b5aeb9bbfa59d61aee92800 (patch) | |
tree | 2cf6a136d509fd47f58628530dcfad4798f7d9de /xs/src/slic3r/GUI/GUI.cpp | |
parent | 512b6dfd8818a424adbb0367a4b2ccd8bcac0b2e (diff) |
One day I will fix it!
Diffstat (limited to 'xs/src/slic3r/GUI/GUI.cpp')
-rw-r--r-- | xs/src/slic3r/GUI/GUI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/GUI.cpp b/xs/src/slic3r/GUI/GUI.cpp index 4a5be5b8e..aad970236 100644 --- a/xs/src/slic3r/GUI/GUI.cpp +++ b/xs/src/slic3r/GUI/GUI.cpp @@ -952,7 +952,8 @@ 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 += '\''; - cmd += boost::replace_all(path, "'", "\\'"); + boost::replace_all(path, "'", "\\'"); + cmd += path; cmd += '\''; #endif ::wxExecute(wxString::FromUTF8(cmd.c_str()), wxEXEC_ASYNC, nullptr); |