forked from enlightenment/efl
efl ui text - remove logically dead code
it is indeed pointless code. fix coverity CID 1380544
This commit is contained in:
parent
22466b991c
commit
35b65e0643
|
@ -274,8 +274,6 @@ _text_draw(Efl_Ui_Textpath_Data *pd)
|
|||
slice_no = pd->slice_no * seg->length / (double)pd->total_length;
|
||||
if (slice_no == 0)
|
||||
slice_no = len * slice_unit + 1;
|
||||
if (remained_w == 0)
|
||||
slice_no = total_slice - drawn_slice;
|
||||
drawn_slice += slice_no;
|
||||
_segment_draw(pd, slice_no, w1, w2, cur_map_point, map, seg->bezier);
|
||||
cur_map_point += slice_no * 4;
|
||||
|
|
Loading…
Reference in New Issue