aboutsummaryrefslogtreecommitdiff
path: root/key-string.c
diff options
context:
space:
mode:
Diffstat (limited to 'key-string.c')
-rw-r--r--key-string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/key-string.c b/key-string.c
index 2a0602b2..bd98ca69 100644
--- a/key-string.c
+++ b/key-string.c
@@ -143,7 +143,7 @@ key_string_get_modifiers(const char **string)
break;
case 'M':
case 'm':
- modifiers |= KEYC_ESCAPE;
+ modifiers |= KEYC_META;
break;
case 'S':
case 's':
@@ -265,7 +265,7 @@ key_string_lookup_key(key_code key)
/* Fill in the modifiers. */
if (key & KEYC_CTRL)
strlcat(out, "C-", sizeof out);
- if (key & KEYC_ESCAPE)
+ if (key & KEYC_META)
strlcat(out, "M-", sizeof out);
if (key & KEYC_SHIFT)
strlcat(out, "S-", sizeof out);