diff options
| author | Tom Englund <tomenglund26@gmail.com> | 2024-08-26 18:02:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-26 18:02:44 +0200 |
| commit | 1ea47950f4262ec1215087948c7275f8e0115af2 (patch) | |
| tree | a1834b9aff5113cfe6c9a2aa0f67ab4d668dc5e5 /src/managers/KeybindManager.cpp | |
| parent | 8d6c18076f3268a6c85c6085d29f898267028101 (diff) | |
misc: fix some minor typos (#7530)
* keybindmgr: fix typo in swap prev
seems a suspicious extra ) got added, remove it.
* configmgr: dont dereference invalid iterator
i think the idea here was to print the key and not the iterator at or
past .end()
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 7eb96730..9fac656c 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -2441,7 +2441,7 @@ SDispatchResult CKeybindManager::swapnext(std::string arg) { // sometimes we may come back to ourselves. if (toSwap == PLASTWINDOW) { if (arg == "last" || arg == "l" || arg == "prev" || arg == "p") - toSwap = g_pCompositor->getPrevWindowOnWorkspace(PLASTWINDOW), true; + toSwap = g_pCompositor->getPrevWindowOnWorkspace(PLASTWINDOW, true); else toSwap = g_pCompositor->getNextWindowOnWorkspace(PLASTWINDOW, true); } |
