]> Pileus Git - ~andy/gtk/commitdiff
Make limit an inclusive boundary. (#321299)
authorMatthias Clasen <mclasen@redhat.com>
Mon, 14 Nov 2005 04:25:25 +0000 (04:25 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 14 Nov 2005 04:25:25 +0000 (04:25 +0000)
2005-11-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextiter.c (gtk_text_iter_forward_search): Make
limit an inclusive boundary.  (#321299)

ChangeLog
ChangeLog.pre-2-10
gtk/gtktextiter.c

index 4937b37f67b3770ede77b7982b53c23f00cfc5e2..29615937ed117143b0b3736b9278dc97e687574d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextiter.c (gtk_text_iter_forward_search): Make
+       limit an inclusive boundary.  (#321299)
+
 2005-11-12  Michael Natterer  <mitch@imendio.com>
 
        * gtk/Makefile.am: fixed icon rules so gtkbuiltincache.h is only
index 4937b37f67b3770ede77b7982b53c23f00cfc5e2..29615937ed117143b0b3736b9278dc97e687574d 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtktextiter.c (gtk_text_iter_forward_search): Make
+       limit an inclusive boundary.  (#321299)
+
 2005-11-12  Michael Natterer  <mitch@imendio.com>
 
        * gtk/Makefile.am: fixed icon rules so gtkbuiltincache.h is only
index 7a83d30a33cb0aaf3813090129185deac4ddbb6c..fd5b4f4c8f08e834ec54f2c06a620b703f544ce4 100644 (file)
@@ -4682,7 +4682,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;