summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-05-29 21:01:36 +0000
committerJames Bursa <james@netsurf-browser.org>2004-05-29 21:01:36 +0000
commitbbad5f0461578497dfddfd4fe5faf72b832c5389 (patch)
tree1a41735b9a799d148123272eb00eda4dfc6bdb05 /riscos
parent745d4b1d67b627306a1d04f31b1fe085460fd005 (diff)
downloadnetsurf-bbad5f0461578497dfddfd4fe5faf72b832c5389.tar.gz
netsurf-bbad5f0461578497dfddfd4fe5faf72b832c5389.tar.bz2
[project @ 2004-05-29 21:01:36 by bursa]
Remove obsolete parameters. Visibility bug fix. svn path=/import/netsurf/; revision=900
Diffstat (limited to 'riscos')
-rw-r--r--riscos/htmlredraw.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/riscos/htmlredraw.c b/riscos/htmlredraw.c
index 934a3abf1..2d85204fb 100644
--- a/riscos/htmlredraw.c
+++ b/riscos/htmlredraw.c
@@ -25,7 +25,6 @@
static void html_redraw_box(struct content *content, struct box * box,
signed long x, signed long y,
unsigned long current_background_color,
- signed long gadget_subtract_x, signed long gadget_subtract_y,
bool *select_on,
long clip_x0, long clip_y0, long clip_x1, long clip_y1,
float scale);
@@ -77,7 +76,7 @@ void html_redraw(struct content *c, long x, long y,
trfm.entries[0][0] = trfm.entries[1][1] = 65536 * scale;
- html_redraw_box(c, box, x, y, background_colour, x, y,
+ html_redraw_box(c, box, x, y, background_colour,
&select_on, clip_x0, clip_y0, clip_x1, clip_y1, scale);
}
@@ -86,7 +85,6 @@ void html_redraw(struct content *c, long x, long y,
void html_redraw_box(struct content *content, struct box * box,
signed long x, signed long y,
unsigned long current_background_color,
- signed long gadget_subtract_x, signed long gadget_subtract_y,
bool *select_on,
long clip_x0, long clip_y0, long clip_x1, long clip_y1,
float scale)
@@ -115,10 +113,10 @@ void html_redraw_box(struct content *content, struct box * box,
y0 = y1 - padding_height + 1;
/* if visibility is hidden render children only */
- if (box->style->visibility == CSS_VISIBILITY_HIDDEN) {
+ if (box->style && box->style->visibility == CSS_VISIBILITY_HIDDEN) {
for (c = box->children; c; c = c->next)
html_redraw_box(content, c, x, y, current_background_color,
- gadget_subtract_x, gadget_subtract_y, select_on,
+ select_on,
x0, y0, x1, y1, scale);
return;
}
@@ -355,13 +353,13 @@ void html_redraw_box(struct content *content, struct box * box,
if (c->type != BOX_FLOAT_LEFT && c->type != BOX_FLOAT_RIGHT)
html_redraw_box(content, c, x,
y, current_background_color,
- gadget_subtract_x, gadget_subtract_y, select_on,
+ select_on,
x0, y0, x1, y1, scale);
for (c = box->float_children; c != 0; c = c->next_float)
html_redraw_box(content, c, x,
y, current_background_color,
- gadget_subtract_x, gadget_subtract_y, select_on,
+ select_on,
x0, y0, x1, y1, scale);
}