Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/11ecf0b6712d1817beef9a5907f462adf89c3d33
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/11ecf0b6712d1817beef9a5907f462adf89c3d33
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/11ecf0b6712d1817beef9a5907f462adf89c3d33

The branch, master has been updated
       via  11ecf0b6712d1817beef9a5907f462adf89c3d33 (commit)
      from  3938d5340b4d44dfe9c7839d1dc2bd790607f8ff (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=11ecf0b6712d1817beef9a5907f462adf89c3d33
commit 11ecf0b6712d1817beef9a5907f462adf89c3d33
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    Amiga: Fix the corewindow get scroll call.

diff --git a/frontends/amiga/corewindow.c b/frontends/amiga/corewindow.c
index 2f155ba..44798d2 100644
--- a/frontends/amiga/corewindow.c
+++ b/frontends/amiga/corewindow.c
@@ -870,20 +870,13 @@ static nserror
 ami_cw_get_scroll(struct core_window *cw, int *x, int *y)
 {
        struct ami_corewindow *ami_cw = (struct ami_corewindow *)cw;
-
-       int scrollsetx;
-       int scrollsety;
-       int win_w = 0, win_h = 0;
        ULONG win_x0, win_y0;
-       int win_x1, win_y1;
-
-       ami_cw_window_size(ami_cw, &win_w, &win_h);
 
        ami_cw_scroller_top(ami_cw, &win_x0, &win_y0);
 
        *x = win_x0;
        *y = win_y0;
-       return NSERROR_OK
+       return NSERROR_OK;
 }
 
 


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

Summary of changes:
 frontends/amiga/corewindow.c |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/frontends/amiga/corewindow.c b/frontends/amiga/corewindow.c
index 2f155ba..44798d2 100644
--- a/frontends/amiga/corewindow.c
+++ b/frontends/amiga/corewindow.c
@@ -870,20 +870,13 @@ static nserror
 ami_cw_get_scroll(struct core_window *cw, int *x, int *y)
 {
        struct ami_corewindow *ami_cw = (struct ami_corewindow *)cw;
-
-       int scrollsetx;
-       int scrollsety;
-       int win_w = 0, win_h = 0;
        ULONG win_x0, win_y0;
-       int win_x1, win_y1;
-
-       ami_cw_window_size(ami_cw, &win_w, &win_h);
 
        ami_cw_scroller_top(ami_cw, &win_x0, &win_y0);
 
        *x = win_x0;
        *y = win_y0;
-       return NSERROR_OK
+       return NSERROR_OK;
 }
 
 


-- 
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