Make limit an inclusive boundary. (#321299)

2005-11-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextiter.c (gtk_text_iter_forward_search): Make
	limit an inclusive boundary.  (#321299)
This commit is contained in:
Matthias Clasen
2005-11-14 04:24:02 +00:00
committed by Matthias Clasen
parent caf17bae51
commit 35f2ae1b04
3 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
2005-11-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_search): Make
limit an inclusive boundary. (#321299)
* NEWS: Updates
2005-11-12 Matthias Clasen <mclasen@redhat.com>

View File

@@ -1,5 +1,8 @@
2005-11-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextiter.c (gtk_text_iter_forward_search): Make
limit an inclusive boundary. (#321299)
* NEWS: Updates
2005-11-12 Matthias Clasen <mclasen@redhat.com>

View File

@@ -4685,7 +4685,7 @@ gtk_text_iter_forward_search (const GtkTextIter *iter,
{
if (limit == NULL ||
(limit &&
gtk_text_iter_compare (&end, limit) < 0))
gtk_text_iter_compare (&end, limit) <= 0))
{
retval = TRUE;