elm config tool - fix redundent check
found by PVS studio
This commit is contained in:
parent
26e93caec7
commit
0f826cc4f1
|
@ -3929,7 +3929,7 @@ _cb_accel(void *data, Evas_Object *obj EINA_UNUSED, void *info EINA_UNUSED)
|
|||
const char *val = data;
|
||||
const char *ss = elm_config_accel_preference_get();
|
||||
|
||||
if ((!ss) || (ss && (strcasecmp(ss, val))))
|
||||
if ((!ss) || (strcasecmp(ss, val)))
|
||||
{
|
||||
elm_config_accel_preference_set(val);
|
||||
elm_config_all_flush();
|
||||
|
|
Loading…
Reference in New Issue