summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorFrançois Conzelmann <45296195+zephvr@users.noreply.github.com>2023-11-30 16:20:08 +0100
committerGitHub <noreply@github.com>2023-11-30 15:20:08 +0000
commit5513eed64d46ef542a2dfaeb4a3229e1d195b02b (patch)
treeec61891525dd07fb68b2d4dc2ef8d46d689eea6f /src/managers/KeybindManager.cpp
parent29970228c5f71f417b0a3e1b4851d9430ed095dd (diff)
managers: fix debug log using printf format (#4007)
Some debug messages where using printf format style to print variable content instead of std::format format.
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index 11e2fa02..c61ad82e 100644
--- a/src/managers/KeybindManager.cpp
+++ b/src/managers/KeybindManager.cpp
@@ -1903,7 +1903,7 @@ void CKeybindManager::alterZOrder(std::string args) {
else if (POSITION == "bottom")
g_pCompositor->changeWindowZOrder(PWINDOW, 0);
else {
- Debug::log(ERR, "alterZOrder: bad position: %s", POSITION);
+ Debug::log(ERR, "alterZOrder: bad position: {}", POSITION);
return;
}
@@ -2055,7 +2055,7 @@ void CKeybindManager::moveWindowOrGroup(std::string args) {
static auto* const PIGNOREGROUPLOCK = &g_pConfigManager->getConfigValuePtr("binds:ignore_group_lock")->intValue;
if (!isDirection(args)) {
- Debug::log(ERR, "Cannot move into group in direction %c, unsupported direction. Supported: l,r,u/t,d/b", arg);
+ Debug::log(ERR, "Cannot move into group in direction {}, unsupported direction. Supported: l,r,u/t,d/b", arg);
return;
}