forked from AuroraMiddleware/gtk
Forgotten fix.
This commit is contained in:
parent
b91bf99b4c
commit
2d4d7f587c
@ -1235,6 +1235,8 @@ gdk_pango_layout_line_get_clip_region (PangoLayoutLine *line,
|
|||||||
|
|
||||||
/* Note that get_x_ranges returns layout coordinates
|
/* Note that get_x_ranges returns layout coordinates
|
||||||
*/
|
*/
|
||||||
|
if (index_ranges[i*2+1] >= line->start_index &&
|
||||||
|
index_ranges[i*2] < line->start_index + line->length)
|
||||||
pango_layout_line_get_x_ranges (line,
|
pango_layout_line_get_x_ranges (line,
|
||||||
index_ranges[i*2],
|
index_ranges[i*2],
|
||||||
index_ranges[i*2+1],
|
index_ranges[i*2+1],
|
||||||
|
Loading…
Reference in New Issue
Block a user