From faca9d40261b2045c221b6e0a411a1e0c8f462bc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Nov 2011 01:51:51 -0600 Subject: Fix a number of build failures --- src/ksvnwidgets/diffsyntax.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ksvnwidgets/diffsyntax.cpp') 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); -- cgit v1.2.3