hermet pushed a commit to branch master.


commit 1a1fddc33976cfe5d1a5cf002facdf3b98edb11c
Author: Woochan Lee <wc0917....@samsung.com>
Date:   Thu Sep 24 17:06:17 2015 +0900

    spinner: Fix internal logic about special value show instead of number.
    If there is a special value for current spinner value, just jump to apply 
and show up the special value for entry text.
    There is no need to check format.
    Test Plan:
    Add special value for each spinner value.
    Spinner editable set as true.
    Click the button layout for activated spinner entry.
    Check the entry text.
    Reviewers: cedric, Hermet
    Reviewed By: Hermet
    Differential Revision: https://phab.enlightenment.org/D2976
 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 3c5b31b..bbd0204 100644
--- a/src/lib/elm_spinner.c
+++ b/src/lib/elm_spinner.c
@@ -156,12 +156,12 @@ _entry_show(Elm_Spinner_Data *sd)
    if (_is_label_format_integer(fmt))
      snprintf(buf, sizeof(buf), fmt, (int)sd->val);
      snprintf(buf, sizeof(buf), fmt, sd->val);
    elm_object_text_set(sd->ent, buf);


Reply via email to