summaryrefslogtreecommitdiff
path: root/games/dopewars/patches/patch-ac
blob: e5999d305182082e5f98e1aaa94ba8b863052968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ac,v 1.2 2001/06/04 16:14:06 wiz Exp $

--- src/curses_client.c.orig	Wed Apr 25 02:27:54 2001
+++ src/curses_client.c
@@ -43,7 +43,6 @@
 static void PrintHighScore(char *Data);
 
 static int ResizedFlag;
-static SCREEN *cur_screen;
 static char ConnectMethod=CM_SERVER;
 static gboolean CanFire=FALSE,RunHere=FALSE;
 static gchar FightPoint;
@@ -76,7 +75,7 @@
 
 static void start_curses() {
 /* Initialises the curses library for accessing the screen */
-   cur_screen=newterm(NULL,stdout,stdin);
+   initscr();
    if (WantColour) {
       start_color();
       init_pair(1,COLOR_MAGENTA,COLOR_WHITE);