evas/evas_object_textblock : When cursor_mode is BEFORE, dir_cur->node

can be NULL. So modified the conditional state.


SVN revision: 63824
This commit is contained in:
WooHyun Jung 2011-10-05 07:29:06 +00:00
parent ec93b2a20a
commit fb371c8aa6
1 changed files with 1 additions and 1 deletions

View File

@ -7710,7 +7710,7 @@ evas_textblock_cursor_geometry_get(const Evas_Textblock_Cursor *cur, Evas_Coord
dir_cur, &x, &y, &w, &h);
#ifdef BIDI_SUPPORT
Eina_Bool is_rtl = EINA_FALSE;
if (dir_cur->node->par->is_bidi)
if (dir_cur->node && dir_cur->node->par->is_bidi)
{
Evas_Object_Textblock_Line *ln;
Evas_Object_Textblock_Item *it;