mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
Fix 'window-text-pixel-size' when there are several images at START
* src/xdisp.c (window_text_pixel_size): Remove unnecessary call to 'move_it_to'. (Bug#65899) (Bug#54862)
This commit is contained in:
parent
ea14b0dcc2
commit
809305e6d8
@ -11420,7 +11420,6 @@ window_text_pixel_size (Lisp_Object window, Lisp_Object from, Lisp_Object to,
|
||||
else
|
||||
move_it_in_display_line (&it, start, it1_x + 1,
|
||||
MOVE_TO_POS | MOVE_TO_X);
|
||||
move_it_to (&it, start - 1, -1, -1, -1, MOVE_TO_POS);
|
||||
start_x = it.current_x;
|
||||
/* If we didn't change our buffer position, the pixel
|
||||
width of what's here was not yet accounted for; do it
|
||||
|
Loading…
Reference in New Issue
Block a user