Don't fail if client-supplied window size seems incorrect.

Add forgotten change for 1.4.2 in Changelog.


git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@259 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Jilles Tjoelker 2004-02-24 15:46:01 +00:00
parent 5cc0a7c1b3
commit 742afceadc
2 changed files with 2 additions and 8 deletions

View File

@ -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.

View 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;