diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-06-21 20:58:35 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-06-21 20:58:35 +0200 |
| commit | cfa4086b0b2a2c870504b8f74b6e5b5ba276d1fc (patch) | |
| tree | 11981bdec192d56663dd9bcc491a0b987fb00ec7 /src/config/ConfigManager.cpp | |
| parent | cbe9bf0e692010717e3d35e87a9abee79c5f8e4f (diff) | |
configmgr: fix idiotic comparisons in device configs
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index d86e5410..6fdce7c4 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1661,7 +1661,7 @@ SConfigValue CConfigManager::getConfigValueSafeDevice(const std::string& dev, co if (foundIt == std::string::npos) continue; - if (cv.first == "input:" + val || cv.first == "input:touchpad:" + cv.first || cv.first == "input:touchdevice:" + val || cv.first == "input:tablet:" + cv.first || + if (cv.first == "input:" + val || cv.first == "input:touchpad:" + val || cv.first == "input:touchdevice:" + val || cv.first == "input:tablet:" + val || cv.first == "input:tablet:" + val) { copy = cv.second; } |
