diff options
author | vincentdarley <vincentdarley@noemail.net> | 2004-06-09 22:39:08 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2004-06-09 22:39:08 (GMT) |
commit | b5237a35194f2c151e823c79905f8102b7d437e6 (patch) | |
tree | d0729dae13127ef0b0bc2c86feacecfa3e6a00a1 /generic | |
parent | 42d280db6bedc7414ab883c2fb6b8071f24d3d24 (diff) | |
download | tk-b5237a35194f2c151e823c79905f8102b7d437e6.zip tk-b5237a35194f2c151e823c79905f8102b7d437e6.tar.gz tk-b5237a35194f2c151e823c79905f8102b7d437e6.tar.bz2 |
multiline text widget regexp search fix
FossilOrigin-Name: 9fcec4192f52b4c7d2890da0bf8a2a75dcf86f02
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkText.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkText.c b/generic/tkText.c index 01a09f9..fecbdb0 100644 --- a/generic/tkText.c +++ b/generic/tkText.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkText.c,v 1.50 2004/06/04 10:51:18 vincentdarley Exp $ + * RCS: @(#) $Id: tkText.c,v 1.51 2004/06/09 22:39:08 vincentdarley Exp $ */ #include "default.h" @@ -4612,7 +4612,7 @@ SearchCore(interp, searchSpecPtr, patObj) */ if (!match || ((info.extendStart == info.matches[0].start) - && (info.matches[0].end == lastOffset))) { + && (info.matches[0].end == (lastOffset - firstOffset)))) { int extraLines = 1; int prevFullLine; /* |