Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/55c08431ee40a28589ff3278a51f61a6847b7f4e
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/55c08431ee40a28589ff3278a51f61a6847b7f4e
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/55c08431ee40a28589ff3278a51f61a6847b7f4e

The branch, chris/palette-mapped-plotters has been updated
       via  55c08431ee40a28589ff3278a51f61a6847b7f4e (commit)
      from  d577a48bb7cce5f88904e86499906ade86809d8a (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/commitdiff/55c08431ee40a28589ff3278a51f61a6847b7f4e
commit 55c08431ee40a28589ff3278a51f61a6847b7f4e
Author: Chris Young <[email protected]>
Commit: Chris Young <[email protected]>

    Fix build

diff --git a/amiga/gui.c b/amiga/gui.c
index 347fcde..ce39675 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2209,7 +2209,7 @@ void ami_switch_tab(struct gui_window_2 *gwin,bool redraw)
                return;
        }
 
-       ami_plot_release_pens(&g->shared->shared_pens);
+       ami_plot_release_pens(&gwin->shared_pens);
        ami_update_buttons(gwin);
        ami_menu_update_disabled(gwin->bw->window, gwin->bw->current_content);
 
@@ -2575,7 +2575,7 @@ struct gui_window *gui_create_browser_window(struct 
browser_window *bw,
                return NULL;
        }
 
-       NewList(&g->shared->shared_pens);
+       NewMinList(&g->shared->shared_pens);
        
        g->shared->scrollerhook.h_Entry = (void *)ami_scroller_hook;
        g->shared->scrollerhook.h_Data = g->shared;
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 34f5964..8537638 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -254,7 +254,7 @@ void ami_plot_setapen(ULONG colour)
                        p96EncodeColor(RGBFF_A8B8G8R8, colour),
                        TAG_DONE);
        } else {
-               ULONG pen = ami_plot_obtain_pen(gg->shared_pens, colour);
+               ULONG pen = ami_plot_obtain_pen(glob->shared_pens, colour);
                if(pen != -1) SetAPen(glob->rp, pen);
        }
 }
@@ -266,7 +266,7 @@ void ami_plot_setopen(ULONG colour)
                        p96EncodeColor(RGBFF_A8B8G8R8, colour),
                        TAG_DONE);
        } else {
-               ULONG pen = ami_plot_obtain_pen(gg->shared_pens, colour);
+               ULONG pen = ami_plot_obtain_pen(glob->shared_pens, colour);
                if(pen != -1) SetOPen(glob->rp, pen);
        }
 }


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

Summary of changes:
 amiga/gui.c      |    4 ++--
 amiga/plotters.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/amiga/gui.c b/amiga/gui.c
index 347fcde..ce39675 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2209,7 +2209,7 @@ void ami_switch_tab(struct gui_window_2 *gwin,bool redraw)
                return;
        }
 
-       ami_plot_release_pens(&g->shared->shared_pens);
+       ami_plot_release_pens(&gwin->shared_pens);
        ami_update_buttons(gwin);
        ami_menu_update_disabled(gwin->bw->window, gwin->bw->current_content);
 
@@ -2575,7 +2575,7 @@ struct gui_window *gui_create_browser_window(struct 
browser_window *bw,
                return NULL;
        }
 
-       NewList(&g->shared->shared_pens);
+       NewMinList(&g->shared->shared_pens);
        
        g->shared->scrollerhook.h_Entry = (void *)ami_scroller_hook;
        g->shared->scrollerhook.h_Data = g->shared;
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 34f5964..8537638 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -254,7 +254,7 @@ void ami_plot_setapen(ULONG colour)
                        p96EncodeColor(RGBFF_A8B8G8R8, colour),
                        TAG_DONE);
        } else {
-               ULONG pen = ami_plot_obtain_pen(gg->shared_pens, colour);
+               ULONG pen = ami_plot_obtain_pen(glob->shared_pens, colour);
                if(pen != -1) SetAPen(glob->rp, pen);
        }
 }
@@ -266,7 +266,7 @@ void ami_plot_setopen(ULONG colour)
                        p96EncodeColor(RGBFF_A8B8G8R8, colour),
                        TAG_DONE);
        } else {
-               ULONG pen = ami_plot_obtain_pen(gg->shared_pens, colour);
+               ULONG pen = ami_plot_obtain_pen(glob->shared_pens, colour);
                if(pen != -1) SetOPen(glob->rp, pen);
        }
 }


-- 
NetSurf Browser

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

Reply via email to