summaryrefslogtreecommitdiffstats
path: root/tdehtml/html/html_elementimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdehtml/html/html_elementimpl.cpp')
-rw-r--r--tdehtml/html/html_elementimpl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tdehtml/html/html_elementimpl.cpp b/tdehtml/html/html_elementimpl.cpp
index fc116caf3..c3137b5bb 100644
--- a/tdehtml/html/html_elementimpl.cpp
+++ b/tdehtml/html/html_elementimpl.cpp
@@ -436,9 +436,8 @@ void HTMLElementImpl::addHTMLColor( int id, const DOMString &c )
color.sprintf("#%02x%02x%02x", colors[0], colors[1], colors[2] );
// tqDebug( "trying to add fixed color string '%s'", color.latin1() );
- if ( m_styleDecls->setProperty(id, DOMString(color), false, true) ) {
+ if ( m_styleDecls->setProperty(id, DOMString(color), false, true) )
return;
- }
}
}
m_styleDecls->setProperty(id, CSS_VAL_BLACK, false, true);