* grub-core/normal/term.c (put_glyphs_terminal): Correct sign.
(print_backlog): set backlog_ucs4 and backlog_glyphs. Reported by: Yves Blusseau.
This commit is contained in:
parent
2fc8ccb97f
commit
d547dc281c
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/normal/term.c (put_glyphs_terminal): Correct sign.
|
||||||
|
(print_backlog): set backlog_ucs4 and backlog_glyphs.
|
||||||
|
Reported by: Yves Blusseau.
|
||||||
|
|
||||||
2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-09-12 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/normal/misc.c (grub_normal_print_device_info): Show
|
* grub-core/normal/misc.c (grub_normal_print_device_info): Show
|
||||||
|
|
|
@ -657,7 +657,7 @@ put_glyphs_terminal (const struct grub_unicode_glyph *visual,
|
||||||
>= (grub_ssize_t) grub_term_height (term) - 2)
|
>= (grub_ssize_t) grub_term_height (term) - 2)
|
||||||
{
|
{
|
||||||
state->backlog_glyphs = visual_ptr + 1;
|
state->backlog_glyphs = visual_ptr + 1;
|
||||||
state->backlog_len = visual_len - (visual - visual_ptr) - 1;
|
state->backlog_len = visual_len - (visual_ptr - visual) - 1;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -688,6 +688,7 @@ print_backlog (struct grub_term_output *term,
|
||||||
grub_free (state->free);
|
grub_free (state->free);
|
||||||
state->free = NULL;
|
state->free = NULL;
|
||||||
state->backlog_len = 0;
|
state->backlog_len = 0;
|
||||||
|
state->backlog_ucs4 = 0;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -703,6 +704,7 @@ print_backlog (struct grub_term_output *term,
|
||||||
grub_free (state->free);
|
grub_free (state->free);
|
||||||
state->free = NULL;
|
state->free = NULL;
|
||||||
state->backlog_len = 0;
|
state->backlog_len = 0;
|
||||||
|
state->backlog_glyphs = 0;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue