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
@ -1,3 +1,8 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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)
|
||||||
|
|
||||||
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
2002-12-21 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
|
||||||
|
@ -1587,6 +1587,9 @@ add_preedit_attrs (GtkTextLayout *layout,
|
|||||||
if (end == G_MAXINT)
|
if (end == G_MAXINT)
|
||||||
end = layout->preedit_len;
|
end = layout->preedit_len;
|
||||||
|
|
||||||
|
if (end == start)
|
||||||
|
continue;
|
||||||
|
|
||||||
pango_attr_iterator_get_font (iter, font_desc, &language, &extra_attrs);
|
pango_attr_iterator_get_font (iter, font_desc, &language, &extra_attrs);
|
||||||
|
|
||||||
tmp_list = extra_attrs;
|
tmp_list = extra_attrs;
|
||||||
|
Reference in New Issue
Block a user