10709 |
(pos == 0 /* From overlay */ |
(pos == 0 /* From overlay */ |
10710 |
|| pos == pt_old))) |
|| pos == pt_old))) |
10711 |
{ |
{ |
10712 |
cursor_from_overlay_pos = pos == 0 ? last_pos : 0; |
/* Estimate overlay buffer position from the buffer |
10713 |
|
positions of the glyphs before and after the overlay. |
10714 |
|
Add 1 to last_pos so that if point corresponds to the |
10715 |
|
glyph right after the overlay, we still use a 'cursor' |
10716 |
|
property found in that overlay. */ |
10717 |
|
cursor_from_overlay_pos = pos == 0 ? last_pos+1 : 0; |
10718 |
cursor = glyph; |
cursor = glyph; |
10719 |
cursor_x = x; |
cursor_x = x; |
10720 |
} |
} |