aboutsummaryrefslogtreecommitdiffstats
path: root/src/LYKeymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYKeymap.c')
-rw-r--r--src/LYKeymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LYKeymap.c b/src/LYKeymap.c
index f794a828..a9e41625 100644
--- a/src/LYKeymap.c
+++ b/src/LYKeymap.c
@@ -1192,7 +1192,7 @@ int LYStringToKeycode(char *src)
char *dst = 0;
key = strtol(src, &dst, 0);
- if (isEmpty(dst))
+ if (!isEmpty(dst))
key = -1;
} else if (len > 6 && !strncasecomp(src, "key-", 4)) {
char *dst = 0;