tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=4e7af3352c229738f79b6bb151e2f1878c956e32

commit 4e7af3352c229738f79b6bb151e2f1878c956e32
Author: Tom Hacohen <t...@stosb.com>
Date:   Wed Mar 2 15:29:14 2016 +0000

    Spinner: Swap abs with fabs because we're dealing with doubles.
---
 src/lib/elm_spinner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_spinner.c b/src/lib/elm_spinner.c
index 75deea1..cb7318c 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)
    new_str = _text_insert(str, insert, elm_entry_cursor_pos_get(obj));
    if (!new_str) return;
 
-   max_len = log10(abs(sd->val_max)) + 1;
+   max_len = log10(fabs(sd->val_max)) + 1;
    len = evas_string_char_len_get(new_str);
    if (len < max_len) return;
 

-- 


Reply via email to