diff options
| author | Felix Dick <felix.dick@web.de> | 2022-09-25 20:07:48 +0200 |
|---|---|---|
| committer | Felix Dick <felix.dick@web.de> | 2022-09-25 20:07:48 +0200 |
| commit | bf3f519eb76bfa8d5f7d71f882b7b803c699aee1 (patch) | |
| tree | 77126f8d49917fc0bcd44af7859e88fb88d7bfaa /src/helpers/MiscFunctions.cpp | |
| parent | 190229942f60ea5b8905a673ddea44c05da14de3 (diff) | |
Remove trailing whitespace.
Diffstat (limited to 'src/helpers/MiscFunctions.cpp')
| -rw-r--r-- | src/helpers/MiscFunctions.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/helpers/MiscFunctions.cpp b/src/helpers/MiscFunctions.cpp index 2775e0b4..e699d75a 100644 --- a/src/helpers/MiscFunctions.cpp +++ b/src/helpers/MiscFunctions.cpp @@ -65,7 +65,7 @@ std::string absolutePath(const std::string& rawpath, const std::string& currentP void addWLSignal(wl_signal* pSignal, wl_listener* pListener, void* pOwner, std::string ownerString) { ASSERT(pSignal); ASSERT(pListener); - + wl_signal_add(pSignal, pListener); Debug::log(LOG, "Registered signal for owner %x: %x -> %x (owner: %s)", pOwner, pSignal, pListener, ownerString.c_str()); @@ -212,9 +212,9 @@ int getWorkspaceIDFromString(const std::string& in, std::string& outName) { while (remains != 0) { if (remains < 0) searchID--; - else + else searchID++; - + if (g_pCompositor->workspaceIDOutOfBounds(searchID)){ // means we need to wrap around int lowestID = 99999; @@ -233,7 +233,7 @@ int getWorkspaceIDFromString(const std::string& in, std::string& outName) { if (remains < 0) searchID = highestID; - else + else searchID = lowestID; } @@ -262,7 +262,7 @@ int getWorkspaceIDFromString(const std::string& in, std::string& outName) { result = INT_MAX; } outName = std::to_string(result); - } + } } return result; |
