summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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:");