fix build on arch linux

This commit is contained in:
charlie 2020-09-12 02:18:36 +02:00 committed by lukasmatena
parent ad20e369fa
commit 6434f54b74

View File

@ -589,7 +589,7 @@ int CLI::run(int argc, char **argv)
#if ENABLE_GCODE_VIEWER
if (start_as_gcodeviewer) {
if (!m_input_files.empty())
gui->plater()->load_gcode(wxString::FromUTF8(m_input_files[0]));
gui->plater()->load_gcode(wxString::FromUTF8(m_input_files[0].c_str()));
} else {
#endif // ENABLE_GCODE_VIEWER_AS
#if 0