summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1999-01-08 04:11:51 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1999-01-08 04:11:51 +0000
commit686c4b6f344a5a27aa0ff9967507d7d8aea15be1 (patch)
tree4b19eefa348785861d20f7fd669765f618e35daf /games
parent3120ae6e73de04e5e0cf3c44bcb0f46529fad2d7 (diff)
Fix a display bug that popped up in the termcap/curses switchover.
Diffstat (limited to 'games')
-rw-r--r--games/tetris/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/tetris/screen.c b/games/tetris/screen.c
index b2985cf31f1..43716816bb0 100644
--- a/games/tetris/screen.c
+++ b/games/tetris/screen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen.c,v 1.2 1998/09/24 06:45:07 pjanzen Exp $ */
+/* $OpenBSD: screen.c,v 1.3 1999/01/08 04:11:50 pjanzen Exp $ */
/* $NetBSD: screen.c,v 1.4 1995/04/29 01:11:36 mycroft Exp $ */
/*-
@@ -201,7 +201,7 @@ scr_init()
if (CMstr == NULL || UP == NULL || BC == NULL)
stop("cannot do random cursor positioning via tgoto()");
PC = pcstr ? *pcstr : 0;
- if (sgnum >= 0 || xsflag)
+ if (sgnum > 0 || xsflag)
SOstr = SEstr = NULL;
#ifdef unneeded
if (ncflag)