restore custom fonts after displaying
This commit is contained in:
parent
296ecb4a96
commit
d21b9254b2
5
liblog.c
5
liblog.c
|
@ -216,12 +216,15 @@ void ll_sendp(log_level_t p, char const *format, ...)
|
|||
|
||||
static void show_line(const log_line* l, int y)
|
||||
{
|
||||
font_t * f=dfont(0);
|
||||
|
||||
dtext(1, y, &l->text[0], C_BLACK, C_NONE);
|
||||
|
||||
dfont(f);
|
||||
}
|
||||
|
||||
void ll_display_custom(log_line* line)
|
||||
{
|
||||
dfont(NULL);
|
||||
dclear(C_WHITE);
|
||||
for (int i=0; i<8; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue