Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/games/tetris/tetris.c,v rcsdiff: /ftp/cvs/cvsroot/src/games/tetris/tetris.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.30 retrieving revision 1.31 diff -u -p -r1.30 -r1.31 --- src/games/tetris/tetris.c 2015/06/13 04:53:13 1.30 +++ src/games/tetris/tetris.c 2015/11/06 19:53:37 1.31 @@ -1,4 +1,4 @@ -/* $NetBSD: tetris.c,v 1.30 2015/06/13 04:53:13 dholland Exp $ */ +/* $NetBSD: tetris.c,v 1.31 2015/11/06 19:53:37 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -116,6 +116,8 @@ elide(void) tsleep(); while (--base != 0) board[base + B_COLS] = board[base]; + /* don't forget to clear 0th row */ + memset(&board[1], 0, B_COLS - 2); scr_update(); tsleep(); break;