summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_spinner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_spinner.c b/src/lib/elm_spinner.c
index 75deea1ad..cb7318cb1 100644
--- a/src/lib/elm_spinner.c
+++ b/src/lib/elm_spinner.c
@@ -554,7 +554,7 @@ _min_max_validity_filter(void *data, Evas_Object *obj, char **text)
554 new_str = _text_insert(str, insert, elm_entry_cursor_pos_get(obj)); 554 new_str = _text_insert(str, insert, elm_entry_cursor_pos_get(obj));
555 if (!new_str) return; 555 if (!new_str) return;
556 556
557 max_len = log10(abs(sd->val_max)) + 1; 557 max_len = log10(fabs(sd->val_max)) + 1;
558 len = evas_string_char_len_get(new_str); 558 len = evas_string_char_len_get(new_str);
559 if (len < max_len) return; 559 if (len < max_len) return;
560 560