term: Adjustments for backport

This commit is contained in:
mintsuki 2022-10-11 04:46:21 +02:00
parent cf489c4832
commit 271bb8b391

View File

@ -565,7 +565,7 @@ failed_to_load_header_section:
gterm_init(NULL, req_width, req_height);
}
if (current_video_mode < 0) {
if (term == NULL) {
panic(true, "stivale2: Failed to initialise terminal");
}