summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-02-03 09:28:36 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-02-03 09:28:36 +0000
commit7baa070c9f9061714840bee2f66c4ad097c49113 (patch)
tree40c8e8c082d0870af5ca92be355e72e5c9f12203
parent4a9ef8ac429aa9623f74ac7f09630d4e1b3fdbd2 (diff)
downloadlibcss-7baa070c9f9061714840bee2f66c4ad097c49113.tar.gz
libcss-7baa070c9f9061714840bee2f66c4ad097c49113.tar.bz2
Initialise font callback pointers
svn path=/trunk/libcss/; revision=11607
-rw-r--r--test/css21.c2
-rw-r--r--test/parse-auto.c2
-rw-r--r--test/parse2-auto.c2
-rw-r--r--test/select-auto.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/test/css21.c b/test/css21.c
index 929362e..ea655f7 100644
--- a/test/css21.c
+++ b/test/css21.c
@@ -60,6 +60,8 @@ int main(int argc, char **argv)
params.import_pw = NULL;
params.color = NULL;
params.color_pw = NULL;
+ params.font = NULL;
+ params.font_pw = NULL;
for (count = 0; count < ITERATIONS; count++) {
diff --git a/test/parse-auto.c b/test/parse-auto.c
index 3c3e011..e050b22 100644
--- a/test/parse-auto.c
+++ b/test/parse-auto.c
@@ -383,6 +383,8 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen)
params.import_pw = NULL;
params.color = NULL;
params.color_pw = NULL;
+ params.font = NULL;
+ params.font_pw = NULL;
assert(css_stylesheet_create(&params, myrealloc, NULL,
&sheet) == CSS_OK);
diff --git a/test/parse2-auto.c b/test/parse2-auto.c
index cbf6730..8999026 100644
--- a/test/parse2-auto.c
+++ b/test/parse2-auto.c
@@ -208,6 +208,8 @@ void run_test(const uint8_t *data, size_t len, const char *exp, size_t explen)
params.import_pw = NULL;
params.color = NULL;
params.color_pw = NULL;
+ params.font = NULL;
+ params.font_pw = NULL;
assert(css_stylesheet_create(&params, myrealloc, NULL,
&sheet) == CSS_OK);
diff --git a/test/select-auto.c b/test/select-auto.c
index e79688e..4763018 100644
--- a/test/select-auto.c
+++ b/test/select-auto.c
@@ -536,6 +536,8 @@ void css__parse_sheet(line_ctx *ctx, const char *data, size_t len)
params.import_pw = NULL;
params.color = NULL;
params.color_pw = NULL;
+ params.font = NULL;
+ params.font_pw = NULL;
/** \todo How are we going to handle @import? */
assert(css_stylesheet_create(&params, myrealloc, NULL,