summaryrefslogtreecommitdiff
path: root/src/keymap-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keymap-dump.c')
-rw-r--r--src/keymap-dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keymap-dump.c b/src/keymap-dump.c
index 9be65d0..0ab228b 100644
--- a/src/keymap-dump.c
+++ b/src/keymap-dump.c
@@ -243,7 +243,7 @@ write_led_map(struct xkb_keymap *keymap, struct buf *buf,
if (led->which_groups) {
if (led->which_groups != XKB_STATE_LAYOUT_EFFECTIVE) {
write_buf(buf, "\t\twhichGroupState= %s;\n",
- LedStateText(keymap->ctx, led->which_groups));
+ LedStateMaskText(keymap->ctx, led->which_groups));
}
write_buf(buf, "\t\tgroups= 0x%02x;\n",
led->groups);
@@ -252,7 +252,7 @@ write_led_map(struct xkb_keymap *keymap, struct buf *buf,
if (led->which_mods) {
if (led->which_mods != XKB_STATE_MODS_EFFECTIVE) {
write_buf(buf, "\t\twhichModState= %s;\n",
- LedStateText(keymap->ctx, led->which_mods));
+ LedStateMaskText(keymap->ctx, led->which_mods));
}
write_buf(buf, "\t\tmodifiers= %s;\n",
ModMaskText(keymap, led->mods.mods));