Fix combining characters messing with width counter

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-16 19:55:09 +01:00
parent bf17ef45d6
commit 50186d826d
5 changed files with 17 additions and 10 deletions

View file

@ -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;
}
}