update to use fmt-based apis

Not complete, but a first big stab converting users of Mu::Error and
various g_warning & friends, format to the new libfmt-based APIs.
This commit is contained in:
Dirk-Jan C. Binnema
2023-07-05 23:10:13 +03:00
parent 742ca33740
commit 4920b56671
46 changed files with 435 additions and 449 deletions

View File

@ -36,7 +36,7 @@ Mu::mu_cmd_script(const Options& opts)
if (script_it == scriptinfos.cend())
return Err(Error::Code::InvalidArgument,
"cannot find script '%s'", opts.script.name.c_str());
"cannot find script '{}'", opts.script.name);
std::vector<std::string> params{opts.script.params};
if (!opts.muhome.empty()) {