diff options
author | Marvin Borner | 2019-11-30 14:14:59 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-30 14:14:59 +0100 |
commit | 0e94325936030990ac95b9ca90382aa265c95818 (patch) | |
tree | b83d90ecce9746e4e44a21695e18385afae6ef15 /src/kernel/fs | |
parent | 13991f3985af026f8d645d9f5d2afed42c8a5435 (diff) |
Re-enabled font in non-installed versions
Diffstat (limited to 'src/kernel/fs')
-rw-r--r-- | src/kernel/fs/install.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/fs/install.c b/src/kernel/fs/install.c index 386ca0a..4df1f7f 100644 --- a/src/kernel/fs/install.c +++ b/src/kernel/fs/install.c @@ -62,9 +62,9 @@ void install_melvix() kfree(kernel_e); info("Copying font... "); - char* font_p[] = {"FONT.BIN"}; - struct iso9660_entity* font_e = ISO9660_get(font_p, 1); - if(!font_e) + char *font_p[] = {"FONT.BIN"}; + struct iso9660_entity *font_e = ISO9660_get(font_p, 1); + if (!font_e) panic("Font not found!"); uint8_t *font = kmalloc(font_e->length + 2048); serial_write_hex(font_e->length + 2048); |