Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/7e08cf4352d41c372584db69fc59c928f63c324f
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/7e08cf4352d41c372584db69fc59c928f63c324f
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/7e08cf4352d41c372584db69fc59c928f63c324f

The branch, master has been updated
       via  7e08cf4352d41c372584db69fc59c928f63c324f (commit)
      from  4a24a14b09304272349c83c57b0d202193d30d4d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=7e08cf4352d41c372584db69fc59c928f63c324f
commit 7e08cf4352d41c372584db69fc59c928f63c324f
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Treeview: Fix designated struct initialisation.

diff --git a/desktop/treeview.c b/desktop/treeview.c
index 48422e8..3db90cc 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,


-----------------------------------------------------------------------

Summary of changes:
 desktop/treeview.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/desktop/treeview.c b/desktop/treeview.c
index 48422e8..3db90cc 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,


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to