16 lines
504 B
Text
16 lines
504 B
Text
|
$NetBSD: patch-aa,v 1.1 2001/09/15 13:04:35 drochner Exp $
|
||
|
|
||
|
--- src/aacurses.c.orig Thu Aug 23 14:55:25 2001
|
||
|
+++ src/aacurses.c Thu Aug 23 14:56:16 2001
|
||
|
@@ -71,8 +71,8 @@
|
||
|
{
|
||
|
if (__resized_curses)
|
||
|
curses_uninit(c), curses_init(&c->params, NULL,&c->driverparams, NULL), __resized_curses = 0;
|
||
|
- *width = stdscr->_maxx + 1;
|
||
|
- *height = stdscr->_maxy + 1;
|
||
|
+ *width = getmaxx(stdscr) + 1;
|
||
|
+ *height = getmaxy(stdscr) + 1;
|
||
|
#ifdef GPM_MOUSEDRIVER
|
||
|
gpm_mx = *width;
|
||
|
gpm_my = *height;
|