Commit 0dc58fb2 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent 0ad22084
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
......
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
......
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
......
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
......
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
......
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment