summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elementary/elm_slider.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_slider.c b/src/lib/elementary/elm_slider.c
index 6604c4c2fb..8d6f9871ec 100644
--- a/src/lib/elementary/elm_slider.c
+++ b/src/lib/elementary/elm_slider.c
@@ -1571,7 +1571,9 @@ _format_legacy_to_format_eo_cb(void *data, Eina_Strbuf *str, const Eina_Value va
1571 const Eina_Value_Type *type = eina_value_type_get(&value); 1571 const Eina_Value_Type *type = eina_value_type_get(&value);
1572 1572
1573 if (type == EINA_VALUE_TYPE_DOUBLE) 1573 if (type == EINA_VALUE_TYPE_DOUBLE)
1574 eina_value_get(&value, &val); 1574 {
1575 if (!eina_value_get(&value, &val)) return EINA_FALSE;
1576 }
1575 1577
1576 if (sfwd->format_cb) 1578 if (sfwd->format_cb)
1577 buf = sfwd->format_cb(val); 1579 buf = sfwd->format_cb(val);