mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 12:20:39 -08:00
(get_composition_id): Fix the width calculation for TAB.
This commit is contained in:
parent
baed8445dd
commit
8e86803cbf
1 changed files with 1 additions and 1 deletions
|
|
@ -343,7 +343,7 @@ get_composition_id (charpos, bytepos, nchars, prop, string)
|
|||
{
|
||||
int this_width;
|
||||
ch = XINT (key_contents[i]);
|
||||
this_width = CHAR_WIDTH (ch);
|
||||
this_width = (ch == '\t' ? 1 : CHAR_WIDTH (ch));
|
||||
if (cmp->width < this_width)
|
||||
cmp->width = this_width;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue