blob: 9141e704100e9b0dcaf71c072d9d0dfbc69a2676 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aa,v 1.1.1.1 2002/01/30 11:31:42 agc 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;
|