mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-21 22:11:22 +03:00
remove pointless box structure
This commit is contained in:
parent
ccb7562903
commit
7c957b4564
@ -54,7 +54,6 @@ typedef enum {
|
||||
|
||||
struct selection {
|
||||
struct content *c;
|
||||
struct box *root;
|
||||
|
||||
unsigned max_idx; /* total bytes in text representation */
|
||||
|
||||
@ -257,7 +256,6 @@ struct selection *selection_create(struct content *c)
|
||||
sel = calloc(1, sizeof(struct selection));
|
||||
if (sel) {
|
||||
sel->c = c;
|
||||
sel->root = NULL;
|
||||
sel->drag_state = DRAG_NONE;
|
||||
sel->max_idx = 0;
|
||||
selection_clear(sel, false);
|
||||
|
Loading…
Reference in New Issue
Block a user