diff --git a/doc/fixes34.1 b/doc/fixes34.1 index ce8ba1bab..7dbeae68a 100644 --- a/doc/fixes34.1 +++ b/doc/fixes34.1 @@ -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 diff --git a/sys/winnt/nttty.c b/sys/winnt/nttty.c index 3b5b11eef..d2a806d8c 100644 --- a/sys/winnt/nttty.c +++ b/sys/winnt/nttty.c @@ -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); }