Skip to content
Snippets Groups Projects
Commit c56d0260 authored by deuce's avatar deuce
Browse files

Initialize screen font to default.

parent 6aa2efba
No related branches found
No related tags found
No related merge requests found
......@@ -1551,6 +1551,7 @@ int bitmap_drv_init_mode(int mode, int *width, int *height)
for (i = 0; i < vstat.cols*vstat.rows; ++i) {
vstat.vmem->vmem[i].ch = 0;
vstat.vmem->vmem[i].legacy_attr = vstat.currattr;
vstat.vmem->vmem[i].font = default_font;
bitmap_attr2palette_locked(vstat.currattr, &vstat.vmem->vmem[i].fg, &vstat.vmem->vmem[i].bg);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment