summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 01:04:01 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 09:08:40 +0900
commit5a1f8fdf412a004f422fb84e63f07260004c406c (patch)
treed7d9c0acbc9c44ab9a35a167db9d99f094ced65e
parent1670ee27660b74be9a69d79f3001fb3cee59630c (diff)
elm code - remove double set of textlen
analysis doesnt like it, but not a bug found by PVS studio
-rw-r--r--src/lib/elementary/elm_code_widget_undo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_code_widget_undo.c b/src/lib/elementary/elm_code_widget_undo.c
index 2d23594188..7e983d0059 100644
--- a/src/lib/elementary/elm_code_widget_undo.c
+++ b/src/lib/elementary/elm_code_widget_undo.c
@@ -83,7 +83,6 @@ _elm_code_widget_undo_change(Evas_Object *widget,
83 line = elm_code_file_line_get(pd->code->file, newrow); 83 line = elm_code_file_line_get(pd->code->file, newrow);
84 if (newrow != info->end_line) 84 if (newrow != info->end_line)
85 { 85 {
86 textlen = remainlen;
87 textlen = elm_code_text_newlinenpos(content, remainlen, 86 textlen = elm_code_text_newlinenpos(content, remainlen,
88 &nllen); 87 &nllen);
89 remainlen -= textlen + nllen; 88 remainlen -= textlen + nllen;