]> Pileus Git - ~andy/gtk/commitdiff
Fix optimization that was correct for the use here, but completely
authorOwen Taylor <otaylor@redhat.com>
Thu, 26 Apr 2001 14:57:13 +0000 (14:57 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 26 Apr 2001 14:57:13 +0000 (14:57 +0000)
Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (strstr_len): Fix optimization that
was correct for the use here, but completely incorrect
in general.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkentry.c

index 57bfe229bab3b9c351f3435a153bd3ab5d4fc1ec..0ca83d2ef362ef694cf7f66236f4b6f40065cc4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c (strstr_len): Fix optimization that
+       was correct for the use here, but completely incorrect
+       in general.
+
 Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
index 57bfe229bab3b9c351f3435a153bd3ab5d4fc1ec..0ca83d2ef362ef694cf7f66236f4b6f40065cc4f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c (strstr_len): Fix optimization that
+       was correct for the use here, but completely incorrect
+       in general.
+
 Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
index 57bfe229bab3b9c351f3435a153bd3ab5d4fc1ec..0ca83d2ef362ef694cf7f66236f4b6f40065cc4f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c (strstr_len): Fix optimization that
+       was correct for the use here, but completely incorrect
+       in general.
+
 Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
index 57bfe229bab3b9c351f3435a153bd3ab5d4fc1ec..0ca83d2ef362ef694cf7f66236f4b6f40065cc4f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c (strstr_len): Fix optimization that
+       was correct for the use here, but completely incorrect
+       in general.
+
 Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
index 57bfe229bab3b9c351f3435a153bd3ab5d4fc1ec..0ca83d2ef362ef694cf7f66236f4b6f40065cc4f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c (strstr_len): Fix optimization that
+       was correct for the use here, but completely incorrect
+       in general.
+
 Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
index 57bfe229bab3b9c351f3435a153bd3ab5d4fc1ec..0ca83d2ef362ef694cf7f66236f4b6f40065cc4f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c (strstr_len): Fix optimization that
+       was correct for the use here, but completely incorrect
+       in general.
+
 Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
index 57bfe229bab3b9c351f3435a153bd3ab5d4fc1ec..0ca83d2ef362ef694cf7f66236f4b6f40065cc4f 100644 (file)
@@ -1,3 +1,9 @@
+Thu Apr 26 10:54:50 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c (strstr_len): Fix optimization that
+       was correct for the use here, but completely incorrect
+       in general.
+
 Thu Apr 26 10:40:41 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkwindow.h: Remove deprecation of gtk_window_set_default_size()
index 84af9d3c7f01b693f4c887a92a8e7fccba88ffce..644c4c4c5554f6d2bb22d49d5772805e440604e7 100644 (file)
@@ -1724,7 +1724,7 @@ strstr_len (const char *haystack,
          return (char *)p;
 
        next:
-         p += needle_len;
+         p++;
        }
     }