diff options
Diffstat (limited to 'tdehtml/html/html_elementimpl.cpp')
-rw-r--r-- | tdehtml/html/html_elementimpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tdehtml/html/html_elementimpl.cpp b/tdehtml/html/html_elementimpl.cpp index 1d7995501..1153e8b7f 100644 --- a/tdehtml/html/html_elementimpl.cpp +++ b/tdehtml/html/html_elementimpl.cpp @@ -436,8 +436,9 @@ 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); |