:: commit 271bb8b39172855c35d99fcff595dfa34b54e52e

mintsuki <mintsuki@protonmail.com> — 2022-10-11 02:46

parents: cf489c4832

term: Adjustments for backport

diff --git a/common/protos/stivale2.c b/common/protos/stivale2.c
index ce7bb7b9..1526ac94 100644
--- a/common/protos/stivale2.c
+++ b/common/protos/stivale2.c
@@ -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");
             }
 
tab: 248 wrap: offon