forked from enlightenment/enlightenment
e_xkb: refactor command creation code
-model was set to default if e_config->xkb.default_model was default. Fix this and always set e_config->xkb.default_model.
This commit is contained in:
parent
893f3b1669
commit
3677ff12f9
|
@ -168,13 +168,7 @@ _e_x_xkb_update(int cur_group)
|
|||
else if (e_config->xkb.default_model)
|
||||
{
|
||||
eina_strbuf_append(buf, " -model '");
|
||||
if (strcmp(e_config->xkb.default_model, "default"))
|
||||
eina_strbuf_append(buf, e_config->xkb.default_model);
|
||||
else if ((e_config->xkb.default_model) &&
|
||||
(strcmp(e_config->xkb.default_model, "default")))
|
||||
eina_strbuf_append(buf, e_config->xkb.default_model);
|
||||
else
|
||||
eina_strbuf_append(buf, "default");
|
||||
eina_strbuf_append(buf, "'");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue