projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c994976
)
elementary: fix float warning in progressbar.
author
Cedric BAIL
<cedric@osg.samsung.com>
Tue, 20 Dec 2016 23:14:14 +0000
(15:14 -0800)
committer
Cedric BAIL
<cedric@osg.samsung.com>
Wed, 21 Dec 2016 00:39:30 +0000
(16:39 -0800)
src/lib/elementary/elm_progressbar.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_progressbar.c
b/src/lib/elementary/elm_progressbar.c
index
9f92ca7
..
34e7ec1
100644
(file)
--- a/
src/lib/elementary/elm_progressbar.c
+++ b/
src/lib/elementary/elm_progressbar.c
@@
-425,7
+425,7
@@
_elm_progressbar_efl_ui_progress_span_size_get(Eo *obj EINA_UNUSED, Elm_Progress
EOLIAN static void
_elm_progressbar_efl_ui_progress_progress_value_set(Eo *obj, Elm_Progressbar_Data *sd, double val)
{
- if (
sd->val == val
) return;
+ if (
EINA_DBL_CMP(sd->val, val)
) return;
elm_progressbar_part_value_set(obj, "elm.cur.progressbar", val);
}