restore custom fonts after displaying

This commit is contained in:
milang 2020-01-03 20:36:32 +01:00
parent 296ecb4a96
commit d21b9254b2
1 changed files with 4 additions and 1 deletions

View File

@ -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++)
{