diff options
author | bubnikv <bubnikv@gmail.com> | 2018-06-20 20:26:19 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-06-20 20:26:19 +0300 |
commit | 8abe1b3633b9fe6f304eeac2feb7aeeeae0bf8e8 (patch) | |
tree | abd2fc60a3b5f8f0fb33e4c79b867219402b91ca /xs | |
parent | 3a2b501012419b636b525b341e2c7613c97162e3 (diff) |
Yet another fix for the OSX.machine-limits-config
Diffstat (limited to 'xs')
-rw-r--r-- | xs/src/slic3r/GUI/GUI.cpp | 2 |
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) { |