Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-06-20 20:26:19 +0300
committerbubnikv <bubnikv@gmail.com>2018-06-20 20:26:19 +0300
commit8abe1b3633b9fe6f304eeac2feb7aeeeae0bf8e8 (patch)
treeabd2fc60a3b5f8f0fb33e4c79b867219402b91ca /xs
parent3a2b501012419b636b525b341e2c7613c97162e3 (diff)
Yet another fix for the OSX.machine-limits-config
Diffstat (limited to 'xs')
-rw-r--r--xs/src/slic3r/GUI/GUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/GUI.cpp b/xs/src/slic3r/GUI/GUI.cpp
index 642866606..0360d73d0 100644
--- a/xs/src/slic3r/GUI/GUI.cpp
+++ b/xs/src/slic3r/GUI/GUI.cpp
@@ -149,7 +149,7 @@ void update_label_colours_from_appconfig()
}
}
-static std::string libslic3r_translate_callback(const char *s) { return wxGetTranslation(wxString(s, wxConvUTF8)).utf8_str(); }
+static std::string libslic3r_translate_callback(const char *s) { return wxGetTranslation(wxString(s, wxConvUTF8)).utf8_str().data(); }
void set_wxapp(wxApp *app)
{