From 3e4ef569d3281f8ff9f3421c7606a7ebea103b89 Mon Sep 17 00:00:00 2001 From: Konstantin Dmitriev Date: Dec 14 2019 08:10:04 +0000 Subject: Fix compilation error --- diff --git a/synfig-studio/src/gui/instance.cpp b/synfig-studio/src/gui/instance.cpp index 24078b3..556e9dc 100644 --- a/synfig-studio/src/gui/instance.cpp +++ b/synfig-studio/src/gui/instance.cpp @@ -287,7 +287,7 @@ studio::Instance::run_plugin(std::string plugin_path) FileSystem::ReadStream::Handle stream_in = temporary_filesystem->get_read_stream("#project"+filename_ext); if (!stream_in) { - synfig::error("run_plugin(): Unable to open file for reading - %s", temporary_filesystem->get_real_uri("#project"+filename_ext)); + synfig::error(strprintf("run_plugin(): Unable to open file for reading - %s", temporary_filesystem->get_real_uri("#project"+filename_ext).c_str())); } if (filename_ext == ".sifz") stream_in = new ZReadStream(stream_in);