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/ecma/kjs_proxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdehtml/ecma') diff --git a/tdehtml/ecma/kjs_proxy.cpp b/tdehtml/ecma/kjs_proxy.cpp index bdd7183fe..3ded567fe 100644 --- a/tdehtml/ecma/kjs_proxy.cpp +++ b/tdehtml/ecma/kjs_proxy.cpp @@ -355,7 +355,7 @@ void KJSProxyImpl::applyUserAgent() // If we find "Mozilla" but not "(compatible, ...)" we are a real Netscape if (userAgent.find(TQString::fromLatin1("Mozilla")) >= 0 && userAgent.find(TQString::fromLatin1("compatible")) == -1 && - userAgent.find(TQString::fromLatin1("TDEHTML")) == -1) + userAgent.find(TQString::fromLatin1("KHTML")) == -1) { m_script->setCompatMode(Interpreter::NetscapeCompat); #ifdef KJS_VERBOSE -- cgit v1.2.1