summaryrefslogtreecommitdiffstats
path: root/kjs/regexp_object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjs/regexp_object.cpp')
-rw-r--r--kjs/regexp_object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kjs/regexp_object.cpp b/kjs/regexp_object.cpp
index 7ab223d73..edd2bbeca 100644
--- a/kjs/regexp_object.cpp
+++ b/kjs/regexp_object.cpp
@@ -292,7 +292,7 @@ RegExp* RegExpObjectImp::makeEngine(ExecState *exec, const UString &p, const Val
// Check for validity of flags
for (int pos = 0; pos < flags.size(); ++pos) {
- switch (flags[pos].tqunicode()) {
+ switch (flags[pos].unicode()) {
case 'g':
case 'i':
case 'm':