Fix combining characters messing with width counter
This commit is contained in:
parent
bf17ef45d6
commit
50186d826d
5 changed files with 17 additions and 10 deletions
|
@ -356,7 +356,7 @@ grub_serial_putchar (const struct grub_unicode_glyph *c)
|
|||
serial_hw_put ('\r');
|
||||
serial_hw_put ('\n');
|
||||
}
|
||||
xpos++;
|
||||
xpos += c->estimated_width;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue