* grub-core/normal/term.c (print_ucs4_real): Fix startwidth in dry run.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-05-03 13:56:45 +02:00
parent a8905e8ae8
commit b5a2114d76
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2013-05-03 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/term.c (print_ucs4_real): Fix startwidth in dry run.
2013-05-02 Vladimir Serbinenko <phcoder@gmail.com> 2013-05-02 Vladimir Serbinenko <phcoder@gmail.com>
Several fixes to ieee1275 and big-endian video. Several fixes to ieee1275 and big-endian video.

View file

@ -920,8 +920,8 @@ print_ucs4_real (const grub_uint32_t * str,
get_maxwidth (term, get_maxwidth (term,
margin_left, margin_left,
margin_right), margin_right),
get_startwidth (term, dry_run ? 0 : get_startwidth (term,
margin_left), margin_left),
contchar, pos, !!contchar); contchar, pos, !!contchar);
if (visual_len < 0) if (visual_len < 0)
{ {