[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41125: 28.0.50; Fwindow_text_pixel_size uses FETCH_CHAR (charpos)
From: |
martin rudalics |
Subject: |
bug#41125: 28.0.50; Fwindow_text_pixel_size uses FETCH_CHAR (charpos) |
Date: |
Fri, 8 May 2020 09:18:27 +0200 |
>> which cannot possibly be correct: FETCH_CHAR takes a byte position,
>> not a character position, but BEGV and ZV are measured in characters.
>
> Ouch! Thanks. Does the patch below look good?
It does. Thanks for fixing yet another of my blunders in this function.
And thanks to Pip for catching it.
martin