mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-24 11:22:06 +03:00
Lose unused variable
svn path=/trunk/netsurf/; revision=4705
This commit is contained in:
parent
b37bb0cbff
commit
89da5c5eed
@ -867,8 +867,6 @@ bool browser_window_input_callback(struct browser_window *bw,
|
||||
struct box *input = (struct box *)p;
|
||||
struct box *text_box = input->children->children;
|
||||
size_t box_offset = input->gadget->caret_box_offset;
|
||||
size_t form_offset = input->gadget->caret_form_offset =
|
||||
get_form_offset(input, text_box, box_offset);
|
||||
size_t end_offset;
|
||||
int pixel_offset = input->gadget->caret_pixel_offset;
|
||||
int box_x, box_y;
|
||||
@ -878,7 +876,10 @@ bool browser_window_input_callback(struct browser_window *bw,
|
||||
unsigned int utf8_len;
|
||||
bool to_textarea = false;
|
||||
bool selection_exists = bw->sel->defined;
|
||||
|
||||
|
||||
input->gadget->caret_form_offset =
|
||||
get_form_offset(input, text_box, box_offset);
|
||||
|
||||
selection_get_end(bw->sel, &end_offset);
|
||||
|
||||
box_coords(input, &box_x, &box_y);
|
||||
|
Loading…
Reference in New Issue
Block a user