summaryrefslogtreecommitdiffstats
path: root/khtml/ecma/kjs_css.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/ecma/kjs_css.cpp')
-rw-r--r--khtml/ecma/kjs_css.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/khtml/ecma/kjs_css.cpp b/khtml/ecma/kjs_css.cpp
index b42f9dd02..ea651336e 100644
--- a/khtml/ecma/kjs_css.cpp
+++ b/khtml/ecma/kjs_css.cpp
@@ -185,7 +185,7 @@ void DOMCSSStyleDeclaration::tryPut(ExecState *exec, const Identifier &propertyN
if (propvalue.isEmpty())
styleDecl.removeProperty(prop);
else {
- int important = propvalue.find("!important", 0, false);
+ int important = propvalue.tqfind("!important", 0, false);
if (important == -1)
styleDecl.setProperty(prop, DOM::DOMString(propvalue), "");
else