diff options
Diffstat (limited to 'graphics/aalib-x11/patches/patch-aa')
-rw-r--r-- | graphics/aalib-x11/patches/patch-aa | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/aalib-x11/patches/patch-aa b/graphics/aalib-x11/patches/patch-aa new file mode 100644 index 00000000000..9141e704100 --- /dev/null +++ b/graphics/aalib-x11/patches/patch-aa @@ -0,0 +1,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; |