summaryrefslogtreecommitdiff
path: root/css/select.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-01-30 13:40:47 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-01-30 13:40:47 +0000
commitfbb1139214f3c4fa7925c572eca05e27873e05ea (patch)
treed076cc1b3e3425aebf24728182594730e2060413 /css/select.c
parent42f89d4e0b35bbe768918305b624e20ef654d619 (diff)
downloadnetsurf-fbb1139214f3c4fa7925c572eca05e27873e05ea.tar.gz
netsurf-fbb1139214f3c4fa7925c572eca05e27873e05ea.tar.bz2
add default system colour handlers to each frontend
svn path=/trunk/netsurf/; revision=11530
Diffstat (limited to 'css/select.c')
-rw-r--r--css/select.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/css/select.c b/css/select.c
index 2aae5fbae..415e148fe 100644
--- a/css/select.c
+++ b/css/select.c
@@ -26,6 +26,7 @@
#include "css/internal.h"
#include "css/select.h"
#include "css/utils.h"
+#include "desktop/gui.h"
#include "desktop/options.h"
#include "utils/log.h"
#include "utils/url.h"
@@ -148,7 +149,7 @@ css_stylesheet *nscss_create_inline_style(const uint8_t *data, size_t len,
params.resolve_pw = NULL;
params.import = NULL;
params.import_pw = NULL;
- params.color = NULL;
+ params.color = gui_system_colour;
params.color_pw = NULL;
error = css_stylesheet_create(&params, alloc, pw, &sheet);