blob: 1d6b8e4ed4af13d2fdbf1c93bc341b95fec3c47c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff -pur --exclude='*~' inkscape-0.46.p1/src/style.cpp inkscape-0.46/src/style.cpp
--- inkscape-0.46.p1/src/style.cpp 2008-04-08 09:23:25.000000000 +0200
+++ inkscape-0.46/src/style.cpp 2008-04-08 12:30:35.000000000 +0200
@@ -3614,7 +3614,7 @@ sp_style_write_ipaint(gchar *b, gint con
css << "currentColor";
}
- if ( paint->colorSet ) {
+ if ( paint->colorSet && !paint->currentcolor ) {
if ( !css.str().empty() ) {
css << " ";
}
@@ -3623,7 +3623,7 @@ sp_style_write_ipaint(gchar *b, gint con
css << color_buf;
}
- if (paint->value.color.icc) {
+ if (paint->value.color.icc && !paint->currentcolor) {
if ( !css.str().empty() ) {
css << " ";
}
|