summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger/rdbparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ruby/debugger/rdbparser.cpp')
-rw-r--r--languages/ruby/debugger/rdbparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/ruby/debugger/rdbparser.cpp b/languages/ruby/debugger/rdbparser.cpp
index dc7e0226..d0e8e31b 100644
--- a/languages/ruby/debugger/rdbparser.cpp
+++ b/languages/ruby/debugger/rdbparser.cpp
@@ -64,7 +64,7 @@ void RDBParser::parseVariables(LazyFetchItem *tqparent, char *buf)
while (pos != -1) {
varName = var_re.cap(1);
if (ref_re.search(var_re.cap(2)) != -1) {
- if (var_re.cap(2).tqcontains("=") > 0) {
+ if (var_re.cap(2).contains("=") > 0) {
value = (ref_re.cap(1) + ">").latin1();
} else {
// There are no 'name=value' pairs, as in #<TQt::Color:0x0 #ff0000>
@@ -128,7 +128,7 @@ void RDBParser::parseExpandedVariable(VarItem *tqparent, char *buf)
varName = ppvalue_re.cap(1);
if (ppref_re.search(ppvalue_re.cap(2)) != -1) {
- if (ppvalue_re.cap(2).tqcontains("=") > 0) {
+ if (ppvalue_re.cap(2).contains("=") > 0) {
value = (ppref_re.cap(1) + ">").latin1();
} else {
// There are no 'name=value' pairs, as in #<TQt::Color:0x0 #ff0000>