Don't stop the iteration up to the tag_root too early. (#109945, Dongho

2004-04-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
	Don't stop the iteration up to the tag_root too
	early.  (#109945, Dongho Shin)
This commit is contained in:
Matthias Clasen 2004-04-19 16:17:01 +00:00 committed by Matthias Clasen
parent 0ad220842b
commit 0dc58fb24d
6 changed files with 32 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2004-04-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
Don't stop the iteration up to the tag_root too
early. (#109945, Dongho Shin)
Sun Apr 18 17:06:03 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make

View File

@ -1,3 +1,9 @@
2004-04-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
Don't stop the iteration up to the tag_root too
early. (#109945, Dongho Shin)
Sun Apr 18 17:06:03 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make

View File

@ -1,3 +1,9 @@
2004-04-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
Don't stop the iteration up to the tag_root too
early. (#109945, Dongho Shin)
Sun Apr 18 17:06:03 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make

View File

@ -1,3 +1,9 @@
2004-04-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
Don't stop the iteration up to the tag_root too
early. (#109945, Dongho Shin)
Sun Apr 18 17:06:03 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make

View File

@ -1,3 +1,9 @@
2004-04-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
Don't stop the iteration up to the tag_root too
early. (#109945, Dongho Shin)
Sun Apr 18 17:06:03 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make

View File

@ -4488,8 +4488,7 @@ _gtk_text_line_previous_could_contain_tag (GtkTextLine *line,
line_ancestor_parent = line->parent->parent;
node = line_ancestor_parent->children.node;
while (node != line_ancestor &&
line_ancestor != info->tag_root)
while (node != line_ancestor || line_ancestor != info->tag_root)
{
GSList *child_nodes = NULL;
GSList *tmp;
@ -4497,8 +4496,7 @@ _gtk_text_line_previous_could_contain_tag (GtkTextLine *line,
/* Create reverse-order list of nodes before
* line_ancestor
*/
while (node != line_ancestor
&& node != NULL)
while (node != line_ancestor && node != NULL)
{
child_nodes = g_slist_prepend (child_nodes, node);