mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-24 19:32:07 +03:00
Remove dead assignment.
This commit is contained in:
parent
2fce8cccbc
commit
9c855df691
@ -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;
|
const struct plotter_table *plot = ctx->plot;
|
||||||
int line0, line1, line, left, right, line_y;
|
int line0, line1, line, left, right, line_y;
|
||||||
int text_y_offset, text_y_offset_baseline;
|
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;
|
unsigned int sel_start, sel_end;
|
||||||
char *line_text;
|
char *line_text;
|
||||||
struct rect r, s;
|
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]);
|
line_text = &(ta->show->data[ta->lines[line].b_start]);
|
||||||
|
|
||||||
/* find b_start and b_end for this part of the line */
|
/* find b_end for this part of the line */
|
||||||
b_start = b_end;
|
|
||||||
b_end += b_len_part;
|
b_end += b_len_part;
|
||||||
|
|
||||||
/* find clip left/right for this part of line */
|
/* find clip left/right for this part of line */
|
||||||
|
Loading…
Reference in New Issue
Block a user