openbsd-ports/games/connect4/patches/patch-screen_c
brad bf2c4bc9d1 - remove one unnecessary patch and replace with use of
MAKE_FLAGS/ALL_TARGET
- rename patches
- store the score file in /var/games instead of ${PREFIX}/lib/connect4
- add proper INSTALL/DEINSTALL scripts to setup the score file and to
remind to remove it on deinstallation.
2001-08-11 03:17:12 +00:00

21 lines
442 B
Plaintext

$OpenBSD: patch-screen_c,v 1.1 2001/08/11 03:17:12 brad Exp $
--- screen.c.orig Fri Aug 10 22:48:15 2001
+++ screen.c Fri Aug 10 22:48:25 2001
@@ -1,3 +1,8 @@
+/*
+ * Patched by Joel Sutton, 15th April 1997
+ * Added endwin to tidy things up as per usenet posted patch.
+ */
+
#include <stdio.h>
#include <curses.h>
#include "c4.h"
@@ -116,6 +121,7 @@ plot_finish()
refresh();
nocrmode();
echo();
+ endwin();
}