summaryrefslogtreecommitdiff
path: root/src/kmap2qmap/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmap2qmap/main.cpp')
-rw-r--r--src/kmap2qmap/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kmap2qmap/main.cpp b/src/kmap2qmap/main.cpp
index 60d49ddca..84125497e 100644
--- a/src/kmap2qmap/main.cpp
+++ b/src/kmap2qmap/main.cpp
@@ -697,8 +697,8 @@ bool KeymapParser::parseKmap(QFile *f)
if (kcpos >= 0 && kcpos < (tokens.count()-3) && tokens[kcpos+2] == "=") {
quint16 keycode = tokens[kcpos+1].toInt();
- if (keycode <= 0 || keycode > 0x1ff /* KEY_MAX */) {
- parseWarning("keycode out of range [0..0x1ff]");
+ if (keycode <= 0 || keycode > 0x2ff /* KEY_MAX */) {
+ parseWarning("keycode out of range [0..0x2ff]");
break;
}