Module Name: src
Committed By: uwe
Date: Fri Nov 23 11:16:59 UTC 2018
Modified Files:
src/lib/libcurses: attributes.c
Log Message:
wattr_set - turn off all wide attributes (fix unedited copy/paste).
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/lib/libcurses/attributes.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libcurses/attributes.c
diff -u src/lib/libcurses/attributes.c:1.28 src/lib/libcurses/attributes.c:1.29
--- src/lib/libcurses/attributes.c:1.28 Fri Nov 23 11:15:14 2018
+++ src/lib/libcurses/attributes.c Fri Nov 23 11:16:59 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: attributes.c,v 1.28 2018/11/23 11:15:14 uwe Exp $ */
+/* $NetBSD: attributes.c,v 1.29 2018/11/23 11:16:59 uwe Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: attributes.c,v 1.28 2018/11/23 11:15:14 uwe Exp $");
+__RCSID("$NetBSD: attributes.c,v 1.29 2018/11/23 11:16:59 uwe Exp $");
#endif /* not lint */
#include "curses.h"
@@ -204,7 +204,7 @@ wattr_set(WINDOW *win, attr_t attr, shor
*/
attr = (attr & ~__COLOR) | COLOR_PAIR(pair);
- __wattr_off(win, __ATTRIBUTES);
+ __wattr_off(win, WA_ATTRIBUTES);
__wattr_on(win, attr);
return OK;
}