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

@@ -200,6 +200,7 @@ win32gui: make mswin_yn_function() case insensitive like the tty version
win32tty: honour the use_inverse option and default to ATR_BOLD if disabled
win32tty: respond only to mouse clicks not mouse movement
win32tty: allow ^C to abort the game at the "Who are you?" prompt
win32tty: fix truncated score list
X11: restore support for non-square tiles when USE_XPM is defined
Gnome: add support for non-square tiles
tty: remove #define DEBUG that forced debug behavior in production builds

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);
}