[project @ 2004-08-09 06:25:10 by jmb]

Fix for background colour redraw when background images are turned off

svn path=/import/netsurf/; revision=1198
This commit is contained in:
John Mark Bell 2004-08-09 06:25:10 +00:00
parent 38c79fa1cd
commit a5bb9c38fd
1 changed files with 7 additions and 5 deletions

View File

@ -271,8 +271,10 @@ void html_redraw_box(struct box *box,
/* optimisation removed - transparent images break */
/* optimisation: skip if fully repeated bg image */
if (!box->background/* ||
box->style->background_repeat !=
if (!box->background ||
(ro_gui_current_redraw_gui &&
!ro_gui_current_redraw_gui->option.background_images)
/* || box->style->background_repeat !=
CSS_BACKGROUND_REPEAT_REPEAT*/) {
colourtrans_set_gcol(