diff --git a/library/Core.cpp b/library/Core.cpp index a098073c9..f4512cdbb 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -2430,9 +2430,8 @@ bool Core::SelectHotkey(int sym, int modifiers) } if (!found) { - // TODO: fix error: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘std::string {aka std::basic_string}’ [-Werror=format=] DEBUG(keybinding).print("skipping keybinding due to focus string mismatch: '%s' !~ '%s'\n", - join_strings(", ", focusStrings), binding.focus.c_str()); + join_strings(", ", focusStrings).c_str(), binding.focus.c_str()); continue; } }