diff options
author | Ran Benita <ran234@gmail.com> | 2014-01-01 10:36:54 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-01-01 10:38:14 +0200 |
commit | e18e76084670b093ed7d1fc18c31f1ae0fa43a87 (patch) | |
tree | c9d51a6cb471f2e8ff9d85346f41c5d9e68cf864 /src/keysym.c | |
parent | 1e6e5669c6229846830f0b497591de4e3cf588eb (diff) | |
download | libxkbcommon-e18e76084670b093ed7d1fc18c31f1ae0fa43a87.tar.gz libxkbcommon-e18e76084670b093ed7d1fc18c31f1ae0fa43a87.tar.bz2 libxkbcommon-e18e76084670b093ed7d1fc18c31f1ae0fa43a87.zip |
keysym: fix search for lexicographically larger strings
Probably a copy/paste error from a few lines above.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/keysym.c')
-rw-r--r-- | src/keysym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keysym.c b/src/keysym.c index 33b6491..915aae1 100644 --- a/src/keysym.c +++ b/src/keysym.c @@ -134,7 +134,7 @@ find_sym(const struct name_keysym *entry, const char *name, bool icase) } last = name_to_keysym + len; - for (iter = entry + 1; iter < last; --iter) { + for (iter = entry + 1; iter < last; ++iter) { if (!icase && strcmp(iter->name, name) == 0) return iter; if (strcasecmp(iter->name, entry->name) != 0) |