summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/libcroco/cr-stylesheet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/libcroco/cr-stylesheet.c b/src/3rdparty/libcroco/cr-stylesheet.c
index a2cfc20c9..817ee4f15 100644
--- a/src/3rdparty/libcroco/cr-stylesheet.c
+++ b/src/3rdparty/libcroco/cr-stylesheet.c
@@ -199,9 +199,10 @@ cr_stylesheet_append_import (CRStyleSheet * a_this, CRStyleSheet * a_new_import)
g_return_val_if_fail (a_new_import, NULL);
- if (a_this->import == NULL)
+ if (a_this->import == NULL) {
a_this->import = a_new_import;
return a_this;
+ }
for (cur = a_this->import; cur->next; cur = cur->next) ;