seoz pushed a commit to branch master.

commit 40483f79424f6f25dd9be80abe2030a5d7b11ac4
Author: Ryuan Choi <[email protected]>
Date:   Sat May 4 11:39:01 2013 +0900

    elm_clock : elm_clock_first_interval_set only set first_interval to 1 or 0.
---
 ChangeLog           | 4 ++++
 NEWS                | 1 +
 src/lib/elm_clock.c | 2 +-
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index d167428..4e9a128 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1332,3 +1332,7 @@
 
         * Fix gengrid does not work under the accessibility.
         * Fix do not append NULL to genlist focus list.
+
+2012-05-01 Ryuan Choi (ryuan)
+
+        * Fix elm_clock_first_interval_set writes wrong value.
diff --git a/NEWS b/NEWS
index 91fe03d..2f5c130 100644
--- a/NEWS
+++ b/NEWS
@@ -225,6 +225,7 @@ Fixes:
    * Don't be dead even if a ctxpopup item callback is null.
    * Fix gengrid does not work under the accessibility.
    * Fix do not append NULL to genlist focus list.
+   * Fix elm_clock_first_interval_set writes wrong value.
 
 Removals:
 
diff --git a/src/lib/elm_clock.c b/src/lib/elm_clock.c
index 20c73be..6e5bcb3 100644
--- a/src/lib/elm_clock.c
+++ b/src/lib/elm_clock.c
@@ -1067,7 +1067,7 @@ _first_interval_set(Eo *obj EINA_UNUSED, void *_pd, 
va_list *list)
    double interval = va_arg(*list, double);
    Elm_Clock_Smart_Data *sd = _pd;
 
-   sd->first_interval = !!interval;
+   sd->first_interval = interval;
 }
 
 EAPI double

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2

Reply via email to