diff options
author | Memphiz <memphis@machzwo.de> | 2017-12-31 12:05:32 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2017-12-31 12:05:32 +0100 |
commit | cd9d861bd59f62c2f6a2916373420cc6f46477be (patch) | |
tree | d0efe8200ca1edf0c393098bea179be41c2282a7 | |
parent | 7d1d3e6f00e7f50b35bf88c1f3c92e3cd0e23a04 (diff) |
[CustomCOntrollerTranslator] - fixed mapping of global / fallback section - fixes #17671
-rw-r--r-- | xbmc/input/CustomControllerTranslator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/input/CustomControllerTranslator.cpp b/xbmc/input/CustomControllerTranslator.cpp index 90910e3c22..a137ef10cd 100644 --- a/xbmc/input/CustomControllerTranslator.cpp +++ b/xbmc/input/CustomControllerTranslator.cpp @@ -87,7 +87,7 @@ bool CCustomControllerTranslator::TranslateCustomControllerString(int windowId, TranslateString(fallbackWindow, controllerName, buttonId, actionId, strAction); // Still no valid action? Use global map - if (action == ACTION_NONE) + if (actionId == ACTION_NONE) TranslateString(-1, controllerName, buttonId, actionId, strAction); } |