summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-28 12:08:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-28 15:28:00 +0900
commit35b65e0643f264ef5e7063ae1c92559fe67ce7ed (patch)
tree0e5b07c388ed0bd747f796bec3cfd02b9ebb6367 /src
parent22466b991cfa462e48392a0cc517cbb805fbfda9 (diff)
efl ui text - remove logically dead code
it is indeed pointless code. fix coverity CID 1380544
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_textpath.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_textpath.c b/src/lib/elementary/efl_ui_textpath.c
index 722dbe305d..9b0686f3b3 100644
--- a/src/lib/elementary/efl_ui_textpath.c
+++ b/src/lib/elementary/efl_ui_textpath.c
@@ -274,8 +274,6 @@ _text_draw(Efl_Ui_Textpath_Data *pd)
274 slice_no = pd->slice_no * seg->length / (double)pd->total_length; 274 slice_no = pd->slice_no * seg->length / (double)pd->total_length;
275 if (slice_no == 0) 275 if (slice_no == 0)
276 slice_no = len * slice_unit + 1; 276 slice_no = len * slice_unit + 1;
277 if (remained_w == 0)
278 slice_no = total_slice - drawn_slice;
279 drawn_slice += slice_no; 277 drawn_slice += slice_no;
280 _segment_draw(pd, slice_no, w1, w2, cur_map_point, map, seg->bezier); 278 _segment_draw(pd, slice_no, w1, w2, cur_map_point, map, seg->bezier);
281 cur_map_point += slice_no * 4; 279 cur_map_point += slice_no * 4;