summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-31 11:38:15 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-31 11:38:15 +0900
commit0f826cc4f1fcdf3380c42327f856bbe985377bbd (patch)
treefb58a066055c01ba92a51710348e5871f2702d8a
parent26e93caec735d51f57b29c45732afdb9cf34fa48 (diff)
elm config tool - fix redundent check
found by PVS studio
-rw-r--r--src/bin/elementary/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/elementary/config.c b/src/bin/elementary/config.c
index 7fbad413a8..90b815a4f8 100644
--- a/src/bin/elementary/config.c
+++ b/src/bin/elementary/config.c
@@ -3929,7 +3929,7 @@ _cb_accel(void *data, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
3929 const char *val = data; 3929 const char *val = data;
3930 const char *ss = elm_config_accel_preference_get(); 3930 const char *ss = elm_config_accel_preference_get();
3931 3931
3932 if ((!ss) || (ss && (strcasecmp(ss, val)))) 3932 if ((!ss) || (strcasecmp(ss, val)))
3933 { 3933 {
3934 elm_config_accel_preference_set(val); 3934 elm_config_accel_preference_set(val);
3935 elm_config_all_flush(); 3935 elm_config_all_flush();