From 6b4be5f2df2da8986fa68a5de11d509cc37d44cb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 9 Feb 2014 15:14:56 +0900 Subject: Fix -tdehtml-* rename regression. This resolves bugs 1825 and 1692 --- tdehtml/html/html_elementimpl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tdehtml/html') 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); -- cgit v1.2.3