Skip to content

Commit

Permalink
Remove {} from short if.
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Briel-Deal committed May 15, 2024
1 parent c906d54 commit a7fc7f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/managers/KeybindManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -720,9 +720,9 @@ void CKeybindManager::shadowKeybinds(const xkb_keysym_t& doesntHave, const uint3
if (k.handler == "global" || k.transparent)
continue; // can't be shadowed

if (k.multiKey && (mkBindMatches(k) == MK_FULL_MATCH)) {
if (k.multiKey && (mkBindMatches(k) == MK_FULL_MATCH))
shadow = true;
} else {
else {
const auto KBKEY = xkb_keysym_from_name(k.key.c_str(), XKB_KEYSYM_CASE_INSENSITIVE);
const auto KBKEYUPPER = xkb_keysym_to_upper(KBKEY);

Expand Down

0 comments on commit a7fc7f8

Please sign in to comment.