summaryrefslogtreecommitdiff
path: root/lib/libcurses/MKkeys.awk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcurses/MKkeys.awk')
-rw-r--r--lib/libcurses/MKkeys.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcurses/MKkeys.awk b/lib/libcurses/MKkeys.awk
index 669c455ef54..3618300ad1a 100644
--- a/lib/libcurses/MKkeys.awk
+++ b/lib/libcurses/MKkeys.awk
@@ -1 +1 @@
-{printf "\tadd_to_try(%s, %s);\n", $1, $2;}
+/^[^#]/ { if ($1 != "" && $2 != "" ) { printf "\tadd_to_try(%s, %s);\n", $2, $1;} }