summaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2013-05-04 20:22:33 +0100
committerVincent Sanders <vince@netsurf-browser.org>2013-05-04 20:22:33 +0100
commitca1a468aa848c1709505c49e47b5818f7cda70d4 (patch)
tree2addc0b0a04d121d132eeced919510686d35dad3 /css
parent85030ea2de02c16258e3d32a486af3d9fcf23c7b (diff)
downloadnetsurf-ca1a468aa848c1709505c49e47b5818f7cda70d4.tar.gz
netsurf-ca1a468aa848c1709505c49e47b5818f7cda70d4.tar.bz2
fix dumb comparison error
Diffstat (limited to 'css')
-rw-r--r--css/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/css/dump.c b/css/dump.c
index 1b4d126ca..fa34284e0 100644
--- a/css/dump.c
+++ b/css/dump.c
@@ -596,7 +596,7 @@ void nscss_dump_computed_style(FILE *stream, const css_computed_style *style)
/* counter-reset */
val = css_computed_counter_reset(style, &counter);
- if ((val = CSS_COUNTER_RESET_NONE) || (counter == NULL)) {
+ if ((val == CSS_COUNTER_RESET_NONE) || (counter == NULL)) {
fprintf(stream, "counter-reset: none ");
} else {
fprintf(stream, "counter-reset:");