From dc40f7182c91478258f213ac60cca6f034eecd74 Mon Sep 17 00:00:00 2001 From: Robob27 Date: Thu, 2 Feb 2023 00:42:07 -0500 Subject: [PATCH] Fix warning --- library/Core.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } }