multibuttonentry: change default format count.
authorwoochan lee <wc0917.lee@samsung.com>
Mon, 23 Nov 2015 06:48:32 +0000 (07:48 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 23 Nov 2015 07:45:33 +0000 (08:45 +0100)
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 <cedric@osg.samsung.com>
legacy/elementary/src/lib/elc_multibuttonentry.c

index 3b4a2db..bd2bbc4 100644 (file)
@@ -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);
 }