From e7f8fbb235eefdd7806befabaafefb9cd4fea991 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sat, 11 Mar 2023 08:53:29 -0800 Subject: [PATCH] apparaently the macro expansion has an ambiguous else --- library/Core.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/Core.cpp b/library/Core.cpp index 1bca0f5ed..b5337b827 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -567,8 +567,9 @@ bool loadModScriptPaths(color_ostream &out) { mod_script_paths.emplace_back(installed_path); std::string slashless = *pathit; slashless.resize(slashless.size()-1); - if (0 == files.erase(slashless)) + if (0 == files.erase(slashless)) { WARN(script,out).print("script path not found: '%s'\n", pathit->c_str()); + } } for (auto & entry : files) {