netsurf: branch master updated. release/3.0-177-g31e3b27

NetSurf Browser Project (Commit Mailer) no-reply at netsurf-browser.org
Sat Jun 1 15:37:43 BST 2013


Gitweb links:

...log http://git.netsurf-browser.org/netsurf.git/shortlog/31e3b27fad73dc5424017d55f918b383502d5d0e
...commit http://git.netsurf-browser.org/netsurf.git/commit/31e3b27fad73dc5424017d55f918b383502d5d0e
...tree http://git.netsurf-browser.org/netsurf.git/tree/31e3b27fad73dc5424017d55f918b383502d5d0e

The branch, master has been updated
       via  31e3b27fad73dc5424017d55f918b383502d5d0e (commit)
      from  9ad5b98fcda6e99007741d80ad29674c3b26bc77 (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=31e3b27fad73dc5424017d55f918b383502d5d0e
commit 31e3b27fad73dc5424017d55f918b383502d5d0e
Author: Chris Young <chris at unsatisfactorysoftware.co.uk>
Commit: Chris Young <chris at unsatisfactorysoftware.co.uk>

    Set redraw tile size to default on screen change

diff --git a/amiga/gui.c b/amiga/gui.c
index f47a728..4ec0ea1 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -450,7 +450,10 @@ static void ami_set_screen_defaults(struct Screen *scrn)
 	nsoption_default_set_int(window_y, scrn->BarHeight + 1);
 	nsoption_default_set_int(window_width, scrn->Width);
 	nsoption_default_set_int(window_height, scrn->Height - scrn->BarHeight - 1);
-	
+
+	nsoption_default_set_int(redraw_tile_size_x, scrn->Width);
+	nsoption_default_set_int(redraw_tile_size_y, scrn->Height);
+
 	/* set system colours for amiga ui */
 	colour_option_from_pen(FILLPEN, NSOPTION_sys_colour_ActiveBorder, 0x00000000);
 	colour_option_from_pen(FILLPEN, NSOPTION_sys_colour_ActiveCaption, 0x00dddddd);
diff --git a/amiga/plotters.c b/amiga/plotters.c
index d95915c..bf1c2bf 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -154,8 +154,6 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height)
 		palette_mapped = false;
 	}
 
-	if(nsoption_int(redraw_tile_size_x) <= 0) nsoption_set_int(redraw_tile_size_x, scrn->Width);
-	if(nsoption_int(redraw_tile_size_y) <= 0) nsoption_set_int(redraw_tile_size_y, scrn->Height);
 	if(!width) width = nsoption_int(redraw_tile_size_x);
 	if(!height) height = nsoption_int(redraw_tile_size_y);
 


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

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

diff --git a/amiga/gui.c b/amiga/gui.c
index f47a728..4ec0ea1 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -450,7 +450,10 @@ static void ami_set_screen_defaults(struct Screen *scrn)
 	nsoption_default_set_int(window_y, scrn->BarHeight + 1);
 	nsoption_default_set_int(window_width, scrn->Width);
 	nsoption_default_set_int(window_height, scrn->Height - scrn->BarHeight - 1);
-	
+
+	nsoption_default_set_int(redraw_tile_size_x, scrn->Width);
+	nsoption_default_set_int(redraw_tile_size_y, scrn->Height);
+
 	/* set system colours for amiga ui */
 	colour_option_from_pen(FILLPEN, NSOPTION_sys_colour_ActiveBorder, 0x00000000);
 	colour_option_from_pen(FILLPEN, NSOPTION_sys_colour_ActiveCaption, 0x00dddddd);
diff --git a/amiga/plotters.c b/amiga/plotters.c
index d95915c..bf1c2bf 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -154,8 +154,6 @@ void ami_init_layers(struct gui_globals *gg, ULONG width, ULONG height)
 		palette_mapped = false;
 	}
 
-	if(nsoption_int(redraw_tile_size_x) <= 0) nsoption_set_int(redraw_tile_size_x, scrn->Width);
-	if(nsoption_int(redraw_tile_size_y) <= 0) nsoption_set_int(redraw_tile_size_y, scrn->Height);
 	if(!width) width = nsoption_int(redraw_tile_size_x);
 	if(!height) height = nsoption_int(redraw_tile_size_y);
 


-- 
NetSurf Browser



More information about the netsurf-commits mailing list