Skip to content

Commit

Permalink
move command up
Browse files Browse the repository at this point in the history
  • Loading branch information
Moerliy committed Jun 11, 2024
1 parent 6e3863c commit 7c2bb93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/ConfigManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2028,11 +2028,11 @@ std::optional<std::string> CConfigManager::handleBind(const std::string& command

auto HANDLER = ARGS[2 + DESCR_OFFSET];

const auto COMMAND = mouse ? HANDLER : ARGS[3 + DESCR_OFFSET];

if (mouse)
HANDLER = "mouse";

const auto COMMAND = mouse ? HANDLER : ARGS[3 + DESCR_OFFSET];

// to lower
std::transform(HANDLER.begin(), HANDLER.end(), HANDLER.begin(), ::tolower);

Expand Down

0 comments on commit 7c2bb93

Please sign in to comment.