bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3677ff12f99aea9baa5836949676c07f03a63f26

commit 3677ff12f99aea9baa5836949676c07f03a63f26
Author: Marcel Hollerbach <marcel-hollerb...@t-online.de>
Date:   Tue Jan 26 22:48:24 2016 +0100

    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.
---
 src/bin/e_xkb.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/bin/e_xkb.c b/src/bin/e_xkb.c
index f2da1b6..654eac1 100644
--- a/src/bin/e_xkb.c
+++ b/src/bin/e_xkb.c
@@ -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, e_config->xkb.default_model);
         eina_strbuf_append(buf, "'");
      }
 

-- 


Reply via email to