diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-02-09 15:14:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-02-09 15:14:56 +0900 |
commit | 6b4be5f2df2da8986fa68a5de11d509cc37d44cb (patch) | |
tree | 4f22ca0f4708e3befcba96f1d3f47661acc5f02b /tdehtml/html | |
parent | ca0e1f81a7dbae8c609b1332e04db5ac7d6fe7df (diff) | |
download | tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.tar.gz tdelibs-6b4be5f2df2da8986fa68a5de11d509cc37d44cb.zip |
Fix -tdehtml-* rename regression. This resolves bugs 1825 and 1692
Diffstat (limited to 'tdehtml/html')
-rw-r--r-- | tdehtml/html/html_elementimpl.cpp | 3 |
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); |