From 68943e9890bbe71b6d6c5528e18cd2543e5631df Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 3 Feb 2011 08:55:40 +0000 Subject: [PATCH] Edje text: Use the ellipsis char instead of 3 dots. SVN revision: 56670 --- legacy/edje/src/lib/edje_text.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/legacy/edje/src/lib/edje_text.c b/legacy/edje/src/lib/edje_text.c index 7d30286ef5..425f0479bb 100644 --- a/legacy/edje/src/lib/edje_text.c +++ b/legacy/edje/src/lib/edje_text.c @@ -1,5 +1,5 @@ #include "edje_private.h" - +#define _ELLIP_STR "\xE2\x80\xA6" /* returns with and height for this part. * @@ -86,12 +86,12 @@ _edje_text_fit_set(char *buf, const char *text, int c1, int c2) if (c1 >= 0) { - strcpy(buf, "..."); + strcpy(buf, _ELLIP_STR); if (c2 >= 0) { strncat(buf, text + c1, c2 - c1); - strcat(buf, "..."); + strcat(buf, _ELLIP_STR); } else strcat(buf, text + c1); @@ -102,7 +102,7 @@ _edje_text_fit_set(char *buf, const char *text, int c1, int c2) { strncpy(buf, text, c2); buf[c2] = 0; - strcat(buf, "..."); + strcat(buf, _ELLIP_STR); } else strcpy(buf, text);