diff options
Diffstat (limited to 'src/style.cpp')
| -rw-r--r-- | src/style.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/style.cpp b/src/style.cpp index 46ff51e18..97781737e 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -3646,7 +3646,7 @@ sp_style_write_ipaint(gchar *b, gint const len, gchar const *const key, css << "currentColor"; } - if ( paint->colorSet ) { + if ( paint->colorSet && !paint->currentcolor ) { if ( !css.str().empty() ) { css << " "; } @@ -3655,7 +3655,7 @@ sp_style_write_ipaint(gchar *b, gint const len, gchar const *const key, css << color_buf; } - if (paint->value.color.icc) { + if (paint->value.color.icc && !paint->currentcolor) { if ( !css.str().empty() ) { css << " "; } |
