pkgsrc/graphics/aalib/patches/patch-aa
drochner b07a5daa9a minor improvements:
-use the newest version (1.4rc4)
-we don't really need ncurses, the incompatibility is easily patched away
-USE_LIBTOOL
2001-09-15 13:04:35 +00:00

15 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;