mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* 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:
1 parent
2fc8ccb97f
commit
d547dc281c
2 files changed
+9
-1
No files matched your search
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user