projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d68f3b2
)
use external fn - not internal.
author
Carsten Haitzler
<raster@rasterman.com>
Mon, 12 Oct 2009 10:10:12 +0000
(10:10 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Mon, 12 Oct 2009 10:10:12 +0000
(10:10 +0000)
SVN revision: 43035
src/lib/elm_entry.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_entry.c
b/src/lib/elm_entry.c
index a482c7536f647207d71a1e5ea068ef1b8302af2a..daf3fa37ec485384ea2d231dd4c35279c8b5e78b 100644
(file)
--- a/
src/lib/elm_entry.c
+++ b/
src/lib/elm_entry.c
@@
-661,10
+661,9
@@
_text_to_mkup(const char *text)
if (!text) return NULL;
for (;;)
{
- // FIXME: use evas_string_char_next_get()
pos = pos2;
-
ch = evas_common_font_utf8_get_next((unsigned char *)(text), &pos2
);
-
if (ch <= 0
) break;
+
pos2 = evas_string_char_next_get((unsigned char *)(text), pos2, &ch
);
+
if ((ch <= 0) || (pos2 <= 0)
) break;
if (ch == '\n')
str = _str_append(str, "<br>", &str_len, &str_alloc);
else if (ch == '\t')