aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-31 17:24:31 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-31 17:24:31 +0000
commita4d35ff86cd572cb56b2608eb8a6982ed988c08d (patch)
treef32dda5736dd7469d7fc5789b8fb0f2fb364f2fe
parentupdating catalan and italian translations (diff)
downloadenlightenment-a4d35ff86cd572cb56b2608eb8a6982ed988c08d.tar.gz
fix flag reduce case for when name has no / character
SVN revision: 83530
-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;
}