elm config tool - fix redundent check

found by PVS studio
This commit is contained in:
Carsten Haitzler 2017-07-31 11:38:15 +09:00
parent 26e93caec7
commit 0f826cc4f1
1 changed files with 1 additions and 1 deletions

View File

@ -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();