summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2015-03-10 01:09:34 (GMT)
committer John-Mark Bell <jmb@netsurf-browser.org>2015-03-10 01:10:01 (GMT)
commit9a3112f46fcfce9952134fa230b5879ac33b8e3c (patch)
tree3e3abe9b7e8f204e344939162f315d26d0760b90
parent2294f5adfd40bb3a778dad1d6e335f733f845404 (diff)
downloadlibcss-9a3112f46fcfce9952134fa230b5879ac33b8e3c.tar.gz
libcss-9a3112f46fcfce9952134fa230b5879ac33b8e3c.tar.bz2
Fix use of uninitialized values in style composition.
-rw-r--r--src/select/computed.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/select/computed.c b/src/select/computed.c
index dc632f9..caffc69 100644
--- a/src/select/computed.c
+++ b/src/select/computed.c
@@ -1159,7 +1159,7 @@ css_error css__compute_absolute_values(const css_computed_style *parent,
return error;
/* Fix up letter-spacing */
- error = compute_absolute_length(style,
+ error = compute_absolute_length_auto(style,
&ex_size.data.length,
get_letter_spacing,
set_letter_spacing);
@@ -1182,7 +1182,7 @@ css_error css__compute_absolute_values(const css_computed_style *parent,
return error;
/* Fix up word-spacing */
- error = compute_absolute_length(style,
+ error = compute_absolute_length_auto(style,
&ex_size.data.length,
get_word_spacing,
set_word_spacing);
@@ -1198,7 +1198,7 @@ css_error css__compute_absolute_values(const css_computed_style *parent,
return error;
/* Fix up column-width */
- error = compute_absolute_length(style,
+ error = compute_absolute_length_auto(style,
&ex_size.data.length,
get_column_width,
set_column_width);
@@ -1206,7 +1206,7 @@ css_error css__compute_absolute_values(const css_computed_style *parent,
return error;
/* Fix up column-gap */
- error = compute_absolute_length(style,
+ error = compute_absolute_length_auto(style,
&ex_size.data.length,
get_column_gap,
set_column_gap);