forked from enlightenment/efl
elm code - remove double set of textlen
analysis doesnt like it, but not a bug found by PVS studio
This commit is contained in:
parent
1670ee2766
commit
5a1f8fdf41
|
@ -83,7 +83,6 @@ _elm_code_widget_undo_change(Evas_Object *widget,
|
||||||
line = elm_code_file_line_get(pd->code->file, newrow);
|
line = elm_code_file_line_get(pd->code->file, newrow);
|
||||||
if (newrow != info->end_line)
|
if (newrow != info->end_line)
|
||||||
{
|
{
|
||||||
textlen = remainlen;
|
|
||||||
textlen = elm_code_text_newlinenpos(content, remainlen,
|
textlen = elm_code_text_newlinenpos(content, remainlen,
|
||||||
&nllen);
|
&nllen);
|
||||||
remainlen -= textlen + nllen;
|
remainlen -= textlen + nllen;
|
||||||
|
|
Loading…
Reference in New Issue