2002-12-22 Matthias Clasen <maclas@gmx.de> * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes with empty ranges. (fixes #101564 and #80637)
This commit is contained in:

committed by
Matthias Clasen

parent
eee70b8153
commit
decacd40a6
@ -1587,6 +1587,9 @@ add_preedit_attrs (GtkTextLayout *layout,
|
||||
if (end == G_MAXINT)
|
||||
end = layout->preedit_len;
|
||||
|
||||
if (end == start)
|
||||
continue;
|
||||
|
||||
pango_attr_iterator_get_font (iter, font_desc, &language, &extra_attrs);
|
||||
|
||||
tmp_list = extra_attrs;
|
||||
|
Reference in New Issue
Block a user