aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_xkb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_xkb.c')
-rw-r--r--src/bin/e_xkb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_xkb.c b/src/bin/e_xkb.c
index 74b2426e1..985702e25 100644
--- a/src/bin/e_xkb.c
+++ b/src/bin/e_xkb.c
@@ -226,6 +226,7 @@ e_xkb_layout_name_reduce(const char *name)
if (!name) return NULL;
s = strchr(name, '/');
if (s) s++;
+ else s = name;
return s;
}