summaryrefslogtreecommitdiffstats
path: root/src/ksvnwidgets/diffsyntax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ksvnwidgets/diffsyntax.cpp')
-rw-r--r--src/ksvnwidgets/diffsyntax.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ksvnwidgets/diffsyntax.cpp b/src/ksvnwidgets/diffsyntax.cpp
index 9f5e573..77d2381 100644
--- a/src/ksvnwidgets/diffsyntax.cpp
+++ b/src/ksvnwidgets/diffsyntax.cpp
@@ -47,12 +47,12 @@ int DiffSyntax::highlightParagraph ( const TQString & aText, int endStateOfLastP
if (endStateOfLastPara == 1) {
ret = 2;
} else if (endStateOfLastPara == 2) {
- if (b.match(aText)!=0) {
+ if (b.search(aText)!=0) {
ret = 2;
}
}
- if (a.match(aText)>-1) {
+ if (a.search(aText)>-1) {
c = TQColor("#660033");
if (endStateOfLastPara==1||endStateOfLastPara==2) {
f.setBold(true);