Fix 'window-text-pixel-size' when display properties are around
commit50e2c0fb5180a757d8d533518f68837ffe5909be
authorEli Zaretskii <eliz@gnu.org>
Thu, 8 Mar 2018 13:32:23 +0000 (8 15:32 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 8 Mar 2018 13:32:23 +0000 (8 15:32 +0200)
tree9c6a98410b58d90d3258216c1190ccf57aa91b74
parent4d6e548e60ddb8506d5c943b481f8ae5c819f174
Fix 'window-text-pixel-size' when display properties are around

* src/xdisp.c (Fwindow_text_pixel_size): Correct the result when
there's a display property at the  TO position, and the call to
move_it_to overshoots.  (Bug#30746)
src/xdisp.c