summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-30 23:04:31 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-30 23:04:31 +0200
commitc2db3ad8ce797b2b80c9a5a047ed9dead1438d3e (patch)
tree0e04e78c68c03a02b155363caa1977de19399776 /src/managers/KeybindManager.cpp
parent2e0dd4bea2d5130d14f0c0f66b4c5d5820904ef4 (diff)
fix minor memory issue
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index b3729509..42ce6b89 100644
--- a/src/managers/KeybindManager.cpp
+++ b/src/managers/KeybindManager.cpp
@@ -254,7 +254,7 @@ bool CKeybindManager::handleKeybinds(const uint32_t& modmask, const std::string&
Debug::log(ERR, "Inavlid handler in a keybind! (handler %s does not exist)", k.handler.c_str());
} else {
// call the dispatcher
- Debug::log(LOG, "Keybind triggered, calling dispatcher (%d, %s, %d)", modmask, key, keysym);
+ Debug::log(LOG, "Keybind triggered, calling dispatcher (%d, %s, %d)", modmask, key.c_str(), keysym);
DISPATCHER->second(k.arg);
}