aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_textpath.c
diff options
context:
space:
mode:
authorThiep Ha <thiepha@gmail.com>2017-09-05 12:02:01 +0900
committerThiep Ha <thiepha@gmail.com>2017-09-05 12:02:01 +0900
commit967e94dc6b76eac5002e662042760a0d6f76f8ef (patch)
tree2e0974e31c6acb39f4673e51848f2eeb70ca404f /src/lib/elementary/efl_ui_textpath.c
parenttextpath: correct data gets from path (diff)
downloadefl-967e94dc6b76eac5002e662042760a0d6f76f8ef.tar.gz
textpath: do not process line if failed to allocate segment
Diffstat (limited to 'src/lib/elementary/efl_ui_textpath.c')
-rw-r--r--src/lib/elementary/efl_ui_textpath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c
index ec0a6a56c7..2931995336 100644
--- a/src/lib/elementary/efl_ui_textpath.c
+++ b/src/lib/elementary/efl_ui_textpath.c
@@ -380,6 +380,7 @@ _path_data_get(Eo *obj, Efl_Ui_Textpath_Data *pd, Eina_Bool set_min)
ERR("Failed to allocate segment");
px0 = px1;
py0 = py1;
+ continue;
}
seg->type = EFL_GFX_PATH_COMMAND_TYPE_LINE_TO;
seg->line.start.x = px0;