From: tasn Date: Mon, 11 Jul 2011 12:30:15 +0000 (+0000) Subject: Evas textblock: Removed useless function. X-Git-Tag: 2.0_alpha~240^2~312 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d68b60eb68f4636b5f8b97bf634ca9161e6e5a9a;p=framework%2Fuifw%2Fevas.git Evas textblock: Removed useless function. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61238 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_object_textblock.c b/src/lib/canvas/evas_object_textblock.c index 05d4d69..bae87f2 100644 --- a/src/lib/canvas/evas_object_textblock.c +++ b/src/lib/canvas/evas_object_textblock.c @@ -898,28 +898,6 @@ _is_white(Eina_Unicode c) /** * @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. * * @param cur the cursor to prepend to.