summaryrefslogtreecommitdiff
path: root/desktop/treeview.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r--desktop/treeview.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c
index 48422e8e3..3db90cc41 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -4773,12 +4773,12 @@ treeview_mouse_action(treeview *tree, browser_mouse_state mouse, int x, int y)
} else {
/* On tree */
struct treeview_mouse_action ma = {
- ma.tree = tree,
- ma.mouse = mouse,
- ma.x = x,
- ma.y = y,
- ma.current_y = search_height,
- ma.search_height = search_height,
+ .tree = tree,
+ .mouse = mouse,
+ .x = x,
+ .y = y,
+ .current_y = search_height,
+ .search_height = search_height,
};
treeview_walk_internal(tree, tree->root,