Evas textblock Fixed a "may be used uninit" compiler warning.
authorTom Hacohen <tom@stosb.com>
Wed, 13 Apr 2011 22:40:25 +0000 (22:40 +0000)
committerTom Hacohen <tom@stosb.com>
Wed, 13 Apr 2011 22:40:25 +0000 (22:40 +0000)
SVN revision: 58646

legacy/evas/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;