summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: da9b71a)
raw | patch | inline | side by side (parent: da9b71a)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 8 Apr 2008 18:42:56 +0000 (18:42 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 8 Apr 2008 18:42:56 +0000 (18:42 +0000) |
src/style.cpp | patch | blob | history |
diff --git a/src/style.cpp b/src/style.cpp
index 46ff51e18bab16b2cf8f12616625e304949f5c2b..97781737ec7cf56f97c67d139339544c38071c8c 100644 (file)
--- a/src/style.cpp
+++ b/src/style.cpp
css << "currentColor";
}
- if ( paint->colorSet ) {
+ if ( paint->colorSet && !paint->currentcolor ) {
if ( !css.str().empty() ) {
css << " ";
}
css << color_buf;
}
- if (paint->value.color.icc) {
+ if (paint->value.color.icc && !paint->currentcolor) {
if ( !css.str().empty() ) {
css << " ";
}