]> skyeroc.xyz Git - dgamelaunch/commitdiff
Don't fail if client-supplied window size seems incorrect.
authorJilles Tjoelker <jilles@stack.nl>
Tue, 24 Feb 2004 15:46:01 +0000 (15:46 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Tue, 24 Feb 2004 15:46:01 +0000 (15:46 +0000)
Add forgotten change for 1.4.2 in Changelog.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@259 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

Changelog
dgamelaunch.c

index 4cf5e32f229543ce369cc6f1718fbbad0e05c247..962abc7b33e22b7c8f00e40ac6cabab95510d463 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -1,5 +1,6 @@
 1.4.3 (???)
        * Make ttyplay use the 'strip' value it remembered from last view.
+       * Don't fail if client-supplied window size seems incorrect.
 
 1.4.2 (2004/02/22)
        * Add a compile-time option to define a static location to look
@@ -10,6 +11,7 @@
        * Don't write rcfiles if they already exist. (i.e., lost account
          holders recreating their accounts.
        * Allow administrator to hardcode a dgamelaunch.conf path.
+       * Ignore client-supplied window size again.
        * Include dgl-wall, which notifies all logged in users with
          a mail message.
        * Split common functions into dgl-common.c.
index b98374d2b555fbb1f254a307798fc9efda9b982c..d09e327aa5abd32415768b872b8c9fb72aff853c 100644 (file)
@@ -1411,14 +1411,6 @@ main (int argc, char** argv)
   signal (SIGHUP, catch_sighup);
 
   (void) tcgetattr (0, &tt);
-  if (ioctl (0, TIOCGWINSZ, (char *) &win) == 0)
-    {
-      if (win.ws_row < 24 || win.ws_col < 80)
-        {
-          fprintf(stderr, "ERROR: dgamelaunch needs at least 80x24 screen.\n");
-         graceful_exit(1);
-        }
-    }
   win.ws_row = 24;
   win.ws_col = 80;
   win.ws_xpixel = win.ws_col * 8;