B01006 (from Yitzhak)

win32tty truncated score list
This commit is contained in:
nethack.allison
2002-08-06 23:57:48 +00:00
parent 82d134c29a
commit 3e175049bb
2 changed files with 3 additions and 2 deletions

View File

@@ -123,11 +123,11 @@ tty_startup(wid, hgt)
int *wid, *hgt;
{
/* int twid = origcsbi.dwSize.X; */
int twid = origcsbi.srWindow.Right - origcsbi.srWindow.Left;
int twid = origcsbi.srWindow.Right - origcsbi.srWindow.Left + 1;
if (twid > 80) twid = 80;
*wid = twid;
*hgt = origcsbi.srWindow.Bottom - origcsbi.srWindow.Top;
*hgt = origcsbi.srWindow.Bottom - origcsbi.srWindow.Top + 1;
set_option_mod_status("mouse_support", SET_IN_GAME);
}