diff options
author | bubnikv <bubnikv@gmail.com> | 2017-12-14 15:47:22 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-12-14 15:47:22 +0300 |
commit | 4bbe328117687ca34889cff4c72e237b25417379 (patch) | |
tree | 7de1599a0ef21b0bf02a9d55532a94fbda079fae /xs/src | |
parent | d65835f89b2d7138e5225bc1ddb4931f09ad4f73 (diff) |
Config wizard will prompt user to copy the profiles from Slic3r to Slic3rPE
if the datadir is left to the default value (which is Slic3r),
and Slic3rPE directory exists.
Diffstat (limited to 'xs/src')
-rw-r--r-- | xs/src/libslic3r/utils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/src/libslic3r/utils.cpp b/xs/src/libslic3r/utils.cpp index ee579161f..ef05dcae7 100644 --- a/xs/src/libslic3r/utils.cpp +++ b/xs/src/libslic3r/utils.cpp @@ -193,6 +193,7 @@ confess_at(const char *file, int line, const char *func, namespace Slic3r { +// Encode an UTF-8 string to the local code page. std::string encode_path(const char *src) { #ifdef WIN32 @@ -210,6 +211,7 @@ std::string encode_path(const char *src) #endif /* WIN32 */ } +// Encode an 8-bit string from a local code page to UTF-8. std::string decode_path(const char *src) { #ifdef WIN32 |