bindings: guarantee ordering of bindings of the same key

This commit is contained in:
Andrzej Rybczak
2012-09-20 05:00:11 +02:00
parent 07fc58015e
commit add40d542d
4 changed files with 32 additions and 14 deletions

View File

@@ -248,7 +248,7 @@ int main(int argc, char **argv)
auto k = Bindings.get(input);
for (; k.first != k.second; ++k.first)
if (k.first->second.execute())
if (k.first->execute())
break;
if (myScreen == myPlaylist)