summaryrefslogtreecommitdiffstats
path: root/src/ksvnwidgets/diffsyntax.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-27 01:51:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-27 01:51:51 -0600
commitfaca9d40261b2045c221b6e0a411a1e0c8f462bc (patch)
tree46acd6ffda3dffd45b3f15ab8cc11f92c39135c0 /src/ksvnwidgets/diffsyntax.cpp
parent28972708f207ca1dc4f2f0db371e6a05d7a88fa2 (diff)
downloadtdesvn-faca9d40261b2045c221b6e0a411a1e0c8f462bc.tar.gz
tdesvn-faca9d40261b2045c221b6e0a411a1e0c8f462bc.zip
Fix a number of build failures
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);