diff options
| author | blymn <blymn@NetBSD.org> | 2023-04-28 07:12:39 +0000 |
|---|---|---|
| committer | blymn <blymn@NetBSD.org> | 2023-04-28 07:12:39 +0000 |
| commit | 0b4c7f93c2d4cda49726ec1a96a63bba229434e6 (patch) | |
| tree | c4cc380b54d49cec9601b5bbc5ee733fb5ae3c1a /lib | |
| parent | f5c11352f65024194940c6003f3cd758fa9feaf6 (diff) | |
Don't set the clear_to_eol variable in doupdate to NULL, this was a
leftover from previous code that makes no sense and makes worms(6)
crash randomly. Thanks to kre@ for reporting this.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libcurses/refresh.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libcurses/refresh.c b/lib/libcurses/refresh.c index 9c0ae706586..ca7b339ef4c 100644 --- a/lib/libcurses/refresh.c +++ b/lib/libcurses/refresh.c @@ -1,4 +1,4 @@ -/* $NetBSD: refresh.c,v 1.126 2022/12/05 21:14:25 blymn Exp $ */ +/* $NetBSD: refresh.c,v 1.127 2023/04/28 07:12:39 blymn Exp $ */ /* * Copyright (c) 1981, 1993, 1994 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)refresh.c 8.7 (Berkeley) 8/13/94"; #else -__RCSID("$NetBSD: refresh.c,v 1.126 2022/12/05 21:14:25 blymn Exp $"); +__RCSID("$NetBSD: refresh.c,v 1.127 2023/04/28 07:12:39 blymn Exp $"); #endif #endif /* not lint */ @@ -1382,7 +1382,6 @@ makech(int wy) } return OK; } - ce = NULL; } #ifdef HAVE_WCHAR |
