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/ecma/kjs_proxy.cpp | |
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/ecma/kjs_proxy.cpp')
-rw-r--r-- | tdehtml/ecma/kjs_proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |