]> skyeroc.xyz Git - dgamelaunch/commitdiff
Menus can be longer than 24 lines, if the window is that long.
authorSkyebee <sb24kelley@gmail.com>
Mon, 8 Jun 2026 03:20:16 +0000 (23:20 -0400)
committerSkyebee <sb24kelley@gmail.com>
Mon, 8 Jun 2026 03:28:40 +0000 (23:28 -0400)
(cherry picked from commit 6a580dacb0eece7840319a2859eb44934c9bb2d6)

Changelog
dgamelaunch.c

index b1ca1bee2928d4b243428d476e349642386f212b..a84e1ab79ab529b85bc7b3ad8333f2f37c4d86e3 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,9 +1,11 @@
 1.6.1-roc (2026)
-    * Forked noisytoot repository and merged changes in paxed's repo since
+        * Forked noisytoot repository and merged changes in paxed's repo since
          last merge.
        * Changed loadbanner() [dgamelaunch.c] -- $INCLUDE() can now be anywhere
          in a line.
-       
+        * Banner files can be longer than 24 lines, if the window size is long
+          enough.
+
 1.6.0-hdf (2018-2020)
        * Enhanced watchmode - use game's built-in whatch function instead of
          ttyplay, when available (FIQ/Tangles)
index 33136eed9d2ca3ce27413b631594f64910a5ba7e..ca6f1b56af9a11742cac202943971c2738081ac4 100644 (file)
@@ -633,7 +633,7 @@ loadbanner (char *fname, struct dg_banner *ban) {
 
     memset (buf, 0, DGL_BANNER_LINELEN);
 
-    if (ban->len >= 24)
+    if (ban->len >= win.ws_row - 3)
       break;
   }