Fix optimization that was correct for the use here, but completely

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.
This commit is contained in:
Owen Taylor 2001-04-26 14:57:13 +00:00 committed by Owen Taylor
parent 604828e8d5
commit fb5f7106dc
8 changed files with 43 additions and 1 deletions

View 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()

View 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()

View 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()

View 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()

View 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()

View 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()

View 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()

View File

@ -1724,7 +1724,7 @@ strstr_len (const char *haystack,
return (char *)p;
next:
p += needle_len;
p++;
}
}