summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-18 17:50:24 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-18 17:50:24 +0300
commit43159aed2516e648c9d050b3312aa7678d2fae05 (patch)
tree1cfacc8583c7758e7f0a9be6da6a5550b6d326e5 /src/input
parent77e0edc68f535b74ba8de261cc666707e6d6c81f (diff)
downloadmv-43159aed2516e648c9d050b3312aa7678d2fae05.tar.gz
mv-43159aed2516e648c9d050b3312aa7678d2fae05.tar.bz2
mv-43159aed2516e648c9d050b3312aa7678d2fae05.tar.xz
mv-43159aed2516e648c9d050b3312aa7678d2fae05.zip
Fix keys sorter. Some time probably it may crash before.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputactionsortfunctor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/inputactionsortfunctor.h b/src/input/inputactionsortfunctor.h
index 6884f9c11..3de625fea 100644
--- a/src/input/inputactionsortfunctor.h
+++ b/src/input/inputactionsortfunctor.h
@@ -45,7 +45,7 @@ class InputActionSortFunctor final
logger->log("broken key2: %ld", static_cast<long>(k2));
return false;
}
- return keys[k1].priority >= keys[k2].priority;
+ return keys[k1].priority > keys[k2].priority;
}
const InputActionData *keys A_NONNULLPOINTER;