pkgsrc/games/dopewars/patches/patch-ac
wiz 8b14f0553e Update to 1.5.9. Depend on ncurses again because it's now using KEY_RESIZE
(see PR lib/20032).
Changes:
This is largely a bugfix release, fixing a crash on pressing the
"drop drugs" button, and adding minor improvements to the text-mode
client.
Fix PLIST while here.
2003-07-12 10:07:35 +00:00

21 lines
583 B
Text

$NetBSD: patch-ac,v 1.4 2003/07/12 10:07:35 wiz Exp $
--- src/curses_client/curses_client.c.orig Fri Jun 6 21:13:04 2003
+++ src/curses_client/curses_client.c
@@ -45,7 +45,6 @@
#include "tstring.h"
static int ResizedFlag;
-static SCREEN *cur_screen;
#define PromptAttr (COLOR_PAIR(1))
#define TextAttr (COLOR_PAIR(2))
@@ -112,7 +111,7 @@ static gboolean QuitRequest, WantColour
*/
static void start_curses(void)
{
- cur_screen = newterm(NULL, stdout, stdin);
+ initscr();
if (WantColour) {
start_color();
init_pair(1, COLOR_MAGENTA, COLOR_WHITE);