diff options
Diffstat (limited to 'src/kvirc/kvs/kvi_kvs_treenode_operation.cpp')
-rw-r--r-- | src/kvirc/kvs/kvi_kvs_treenode_operation.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kvirc/kvs/kvi_kvs_treenode_operation.cpp b/src/kvirc/kvs/kvi_kvs_treenode_operation.cpp index 26b05b9d..bdb1310c 100644 --- a/src/kvirc/kvs/kvi_kvs_treenode_operation.cpp +++ b/src/kvirc/kvs/kvi_kvs_treenode_operation.cpp @@ -1467,18 +1467,18 @@ bool KviKvsTreeNodeOperationStringSubstitution::execute(KviKvsRunTimeContext * c TQString szReplaced; const TQChar * p2 = KviTQString::nullTerminatedArray(szR); const TQChar * begin = p2; - while(p2->tqunicode()) + while(p2->unicode()) { - if(p2->tqunicode() == '\\') + if(p2->unicode() == '\\') { p2++; - if(p2->tqunicode() >= '0' && p2->tqunicode() <= '9') + if(p2->unicode() >= '0' && p2->unicode() <= '9') { szReplaced.append(TQString(begin,(p2 - begin) - 1)); - szReplaced.append(re.cap(p2->tqunicode() - '0')); + szReplaced.append(re.cap(p2->unicode() - '0')); p2++; begin = p2; - } else if(p2->tqunicode())p2++; + } else if(p2->unicode())p2++; } else p2++; } if(begin != p2)szReplaced.append(TQString(begin,p2 - begin)); |