Evas textblock Fixed a "may be used uninit" compiler warning.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Apr 2011 22:40:25 +0000 (22:40 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Apr 2011 22:40:25 +0000 (22:40 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@58646 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index 3caf0df..096bac7 100644 (file)
@@ -6511,6 +6511,8 @@ evas_textblock_cursor_char_delete(Evas_Textblock_Cursor *cur)
    index = cur->pos;
    if (text[index])
       chr = text[index++];
+   else
+      chr = 0;
 
    if (chr == 0) return;
    ppos = cur->pos;