Evas textblock: Fixed paragraph line number. It got corrupted in some cases.
authorTom Hacohen <tom@stosb.com>
Mon, 31 Jan 2011 14:43:48 +0000 (14:43 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 31 Jan 2011 14:43:48 +0000 (14:43 +0000)
SVN revision: 56609

legacy/evas/src/lib/canvas/evas_object_textblock.c

index c08cd87..dc5c5ae 100644 (file)
@@ -1887,6 +1887,7 @@ _paragraph_clear(const Evas_Object *obj, Evas_Object_Textblock_Paragraph *par)
         par->lines = (Evas_Object_Textblock_Line *)eina_inlist_remove(EINA_INLIST_GET(par->lines), EINA_INLIST_GET(par->lines));
         _line_free(obj, ln);
      }
+   par->line_no = -1;
 }
 
 /**