forked from enlightenment/efl
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:
parent
ec93b2a20a
commit
fb371c8aa6
|
@ -7710,7 +7710,7 @@ evas_textblock_cursor_geometry_get(const Evas_Textblock_Cursor *cur, Evas_Coord
|
||||||
dir_cur, &x, &y, &w, &h);
|
dir_cur, &x, &y, &w, &h);
|
||||||
#ifdef BIDI_SUPPORT
|
#ifdef BIDI_SUPPORT
|
||||||
Eina_Bool is_rtl = EINA_FALSE;
|
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_Line *ln;
|
||||||
Evas_Object_Textblock_Item *it;
|
Evas_Object_Textblock_Item *it;
|
||||||
|
|
Loading…
Reference in New Issue