diff options
| author | Karl Cheng <qantas94heavy@gmail.com> | 2019-05-11 12:57:46 +0000 |
|---|---|---|
| committer | Karl Cheng <qantas94heavy@gmail.com> | 2019-05-11 13:02:57 +0000 |
| commit | 9cc66ad4783f1b79c0cf83aafdecbe97f206587f (patch) | |
| tree | 6b9643738a02247b6691332601ca2d1d2f0f1597 /src/3rdparty/libcroco/cr-stylesheet.c | |
| parent | Merge branch 'use-cmake-install-libdir' of gitlab.com:YuGiOhJCJ/inkscape (diff) | |
| download | inkscape-9cc66ad4783f1b79c0cf83aafdecbe97f206587f.tar.gz inkscape-9cc66ad4783f1b79c0cf83aafdecbe97f206587f.zip | |
libcroco: fix 'if' statement missing curly brackets
Diffstat (limited to 'src/3rdparty/libcroco/cr-stylesheet.c')
| -rw-r--r-- | src/3rdparty/libcroco/cr-stylesheet.c | 3 |
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) ; |
