diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-05 12:01:13 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-09-05 12:01:13 +0100 |
commit | 9c855df6914bab1f5727a865eae6f2d7cd9b6325 (patch) | |
tree | cc20acb03affc13cc28022a691380e210537ed3f /desktop | |
parent | 2fce8cccbcaf866aefa755da4b8c1eeb7631834c (diff) | |
download | netsurf-9c855df6914bab1f5727a865eae6f2d7cd9b6325.tar.gz netsurf-9c855df6914bab1f5727a865eae6f2d7cd9b6325.tar.bz2 |
Remove dead assignment.
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/textarea.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/textarea.c b/desktop/textarea.c index 49fd090f1..7c967b6cd 100644 --- a/desktop/textarea.c +++ b/desktop/textarea.c @@ -1809,7 +1809,7 @@ void textarea_redraw(struct textarea *ta, int x, int y, colour bg, float scale, const struct plotter_table *plot = ctx->plot; int line0, line1, line, left, right, line_y; int text_y_offset, text_y_offset_baseline; - unsigned int b_pos, b_len, b_len_part, b_start, b_end; + unsigned int b_pos, b_len, b_len_part, b_end; unsigned int sel_start, sel_end; char *line_text; struct rect r, s; @@ -2003,8 +2003,7 @@ void textarea_redraw(struct textarea *ta, int x, int y, colour bg, float scale, line_text = &(ta->show->data[ta->lines[line].b_start]); - /* find b_start and b_end for this part of the line */ - b_start = b_end; + /* find b_end for this part of the line */ b_end += b_len_part; /* find clip left/right for this part of line */ |