aboutsummaryrefslogtreecommitdiff
path: root/src/dicache.c
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-06 10:09:38 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-06 10:09:38 +0100
commit620bd1c02fb87eb424819e4daf1482da29fb727e (patch)
treedc8c4e83d697e5a033dd7c1cf9c464513a0e3a44 /src/dicache.c
parent9514cc5f1a0bc7e8ba63791edd62d2d9e69821f8 (diff)
remove bg_color dillorc option
To set a custom background color add a line like: body {background-color: white} to your ~/.dillo/style.css file. This also works for plain text display and image viewing.
Diffstat (limited to 'src/dicache.c')
-rw-r--r--src/dicache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dicache.c b/src/dicache.c
index 86578ba1..109f1b36 100644
--- a/src/dicache.c
+++ b/src/dicache.c
@@ -399,7 +399,7 @@ static void *Dicache_image(int ImgType, const char *MimeType, void *Ptr,
dReturn_val_if_fail(MimeType && Ptr, NULL);
if (!web->Image)
- web->Image = a_Image_new(0, 0, NULL, prefs.bg_color);
+ web->Image = a_Image_new(0, 0, NULL, web->bgColor);
/* Add an extra reference to the Image (for dicache usage) */
a_Image_ref(web->Image);