forked from enlightenment/enlightenment
fix flag reduce case for when name has no / character
SVN revision: 83530
This commit is contained in:
parent
5cd11a890d
commit
a4d35ff86c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue