From e2ba6726c5f6a0f9aaf8c59f9ecdb03750ac7397 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 27 Dec 2002 21:09:15 +0000 Subject: [project @ 2002-12-27 21:09:15 by bursa] Implement color property. svn path=/import/netsurf/; revision=67 --- riscos/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'riscos') diff --git a/riscos/gui.c b/riscos/gui.c index 94b6de013..8faec76c3 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -1,5 +1,5 @@ /** - * $Id: gui.c,v 1.7 2002/12/27 20:35:32 bursa Exp $ + * $Id: gui.c,v 1.8 2002/12/27 21:09:15 bursa Exp $ */ #include "netsurf/riscos/font.h" @@ -495,7 +495,7 @@ void ro_gui_window_redraw_box(gui_window* g, struct box * box, signed long x, si } #endif - if (box->style->background_color != TRANSPARENT) + if (box->style != 0 && box->style->background_color != TRANSPARENT) { colourtrans_set_gcol(box->style->background_color << 8, 0, os_ACTION_OVERWRITE, 0); os_plot(os_MOVE_TO, x + box->x * 2, y - box->y * 2); -- cgit v1.2.3