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/rendering/render_object.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tdehtml/rendering/render_object.cpp') diff --git a/tdehtml/rendering/render_object.cpp b/tdehtml/rendering/render_object.cpp index a979e1dc1..eacbb4d16 100644 --- a/tdehtml/rendering/render_object.cpp +++ b/tdehtml/rendering/render_object.cpp @@ -2077,7 +2077,7 @@ bool RenderObject::hasCounter(const TQString& counter) const element()->id() == ID_DIR)) return true; } else - if (counter == "-tdehtml-quotes" && isQuote()) { + if (counter == "-khtml-quotes" && isQuote()) { return (static_cast(this)->quoteCount() != 0); } return false; @@ -2146,7 +2146,7 @@ CounterNode* RenderObject::getCounter(const TQString& counter, bool view, bool c // kdDebug( 6040 ) << renderName() << " counter-reset: " << counter << " " << val << endl; } } - else if (counter == "-tdehtml-quotes" && isQuote()) { + else if (counter == "-khtml-quotes" && isQuote()) { i = new CounterNode(this); val = static_cast(this)->quoteCount(); } -- cgit v1.2.1