summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-11-02 16:12:34 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2016-11-19 14:30:07 (GMT)
commitcec2f7d79edcd0702fd37d0c19a0063211438f91 (patch)
treec42facaea459782a9f83e73b89ba0a56a2580364
parentfb095fb2411d3127df035d93b7b33ff6064ad2e9 (diff)
downloadlibcss-cec2f7d79edcd0702fd37d0c19a0063211438f91.tar.gz
libcss-cec2f7d79edcd0702fd37d0c19a0063211438f91.tar.bz2
Add comment.
-rw-r--r--src/select/arena.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/select/arena.c b/src/select/arena.c
index 1b0ea57..baadc9f 100644
--- a/src/select/arena.c
+++ b/src/select/arena.c
@@ -233,6 +233,7 @@ css_error css__arena_intern_style(struct css_computed_style **style)
struct css_computed_style *s = *style;
uint32_t hash, index;
+ /* Don't try to intern an already-interned computed style */
if (s->count != 0) {
return CSS_BADPARM;
}