summaryrefslogtreecommitdiff
path: root/graphics/aalib/patches/patch-aa
blob: 10b6b44466403c9b0cac61a99129b65369492e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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;