cedric pushed a commit to branch master.

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

commit f863d98c6083958438498873a542a59a4be0ec54
Author: woochan lee <wc0917....@samsung.com>
Date:   Mon Nov 23 07:48:32 2015 +0100

    multibuttonentry: change default format count.
    
    Summary:
    There is no need ellipsis, space as well before "%d".
    The "%d" will show the actual invisible item count.
    
    @fix
    
    Reviewers: jaehwan, Hermet, cedric
    
    Reviewed By: cedric
    
    Differential Revision: https://phab.enlightenment.org/D3332
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/elc_multibuttonentry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index 3b4a2db..bd2bbc4 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -83,7 +83,7 @@ _format_count(int count, void *data EINA_UNUSED)
 {
    char buf[32];
 
-   if (!snprintf(buf, sizeof(buf), "... + %d", count)) return NULL;
+   if (!snprintf(buf, sizeof(buf), "+%d", count)) return NULL;
    return strdup(buf);
 }
 

-- 


Reply via email to