summaryrefslogtreecommitdiff
path: root/src/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/view.c')
-rwxr-xr-xsrc/view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view.c b/src/view.c
index 2245494..a3c6562 100755
--- a/src/view.c
+++ b/src/view.c
@@ -166,7 +166,7 @@ static void _gl_main_check_clicked_cb(void *data, Evas_Object *obj, void *event_
s_info.select_mode_check_count += state ? 1 : -1;
ALM_INFO("_gl_main_check_clicked_cb %d", s_info.select_mode_check_count);
char buf[16] = { 0 };
- snprintf(buf, 5, "%.2d", s_info.select_mode_check_count);
+ snprintf(buf, 5, "%d", s_info.select_mode_check_count);
elm_object_text_set(s_info.edit_button, buf);
Evas_Object *action_btn = s_info.delete_button;
@@ -1054,7 +1054,7 @@ static void _gl_longpress_cb(void *data, Evas_Object *obj, void *event_info)
char buf[16] = { 0 };
Evas_Object *btn = elm_button_add(layout);
elm_object_style_set(btn, "select_mode");
- snprintf(buf, 5, "%.2d", s_info.select_mode_check_count);
+ snprintf(buf, 5, "%d", s_info.select_mode_check_count);
ALM_INFO("long pressed count 1%d ", s_info.select_mode_check_count);
elm_object_text_set(btn, buf);
evas_object_smart_callback_add(btn, "clicked", _create_ctxpopup_action_button, NULL);