summaryrefslogtreecommitdiff
path: root/src/bin/textblock_text_append.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/textblock_text_append.c')
-rw-r--r--src/bin/textblock_text_append.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/textblock_text_append.c b/src/bin/textblock_text_append.c
index 00c4c6b..54a70c8 100644
--- a/src/bin/textblock_text_append.c
+++ b/src/bin/textblock_text_append.c
@@ -117,7 +117,7 @@ static void _loop(double t, int f)
117 Evas_Textblock_Cursor *cur; 117 Evas_Textblock_Cursor *cur;
118 static Evas_Textblock_Cursor *cur2; 118 static Evas_Textblock_Cursor *cur2;
119 if (o_text) 119 if (o_text)
120 eo_do(o_text, evas_obj_textblock_cursor_get(&cur)); 120 eo_do(o_text, cur = evas_obj_textblock_cursor_get());
121 evas_textblock_cursor_text_append(cur, "*"); 121 evas_textblock_cursor_text_append(cur, "*");
122 evas_textblock_cursor_char_delete(cur); 122 evas_textblock_cursor_char_delete(cur);
123 123
@@ -125,7 +125,7 @@ static void _loop(double t, int f)
125 if (!cur2) 125 if (!cur2)
126 { 126 {
127 if (o_text) 127 if (o_text)
128 eo_do(o_text, evas_obj_textblock_cursor_new(&cur2)); 128 eo_do(o_text, cur2 = evas_obj_textblock_cursor_new());
129 evas_textblock_cursor_paragraph_last(cur2); 129 evas_textblock_cursor_paragraph_last(cur2);
130 evas_textblock_cursor_paragraph_char_first(cur2); 130 evas_textblock_cursor_paragraph_char_first(cur2);
131 } 131 }