From 5c0443cf79fada63adb6ac5e94e6678e4357abdc Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 11 Jul 2011 12:30:15 +0000 Subject: [PATCH] Evas textblock: Removed useless function. SVN revision: 61238 --- .../src/lib/canvas/evas_object_textblock.c | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/legacy/evas/src/lib/canvas/evas_object_textblock.c b/legacy/evas/src/lib/canvas/evas_object_textblock.c index 05d4d69d86..bae87f2009 100644 --- a/legacy/evas/src/lib/canvas/evas_object_textblock.c +++ b/legacy/evas/src/lib/canvas/evas_object_textblock.c @@ -896,28 +896,6 @@ _is_white(Eina_Unicode c) return EINA_FALSE; } -/** - * @internal - * Appends the text between s and p to the main cursor of the object. - * - * @param cur the cursor to append to. - * @param[in] s start of the string - * @param[in] p end of the string - */ -static void __UNUSED__ -_append_text_run(Evas_Textblock_Cursor *cur, const char *s, const char *p) -{ - if ((s) && (p > s)) - { - char *ts; - - ts = alloca(p - s + 1); - strncpy(ts, s, p - s); - ts[p - s] = 0; - evas_textblock_cursor_text_append(cur, ts); - } -} - /** * @internal * Prepends the text between s and p to the main cursor of the object.