Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcurses wattr_set - turn off all wide attributes (fix ...
details: https://anonhg.NetBSD.org/src/rev/d047b1f61a4f
branches: trunk
changeset: 994815:d047b1f61a4f
user: uwe <uwe%NetBSD.org@localhost>
date: Fri Nov 23 11:16:59 2018 +0000
description:
wattr_set - turn off all wide attributes (fix unedited copy/paste).
diffstat:
lib/libcurses/attributes.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r db63e71f4e35 -r d047b1f61a4f lib/libcurses/attributes.c
--- a/lib/libcurses/attributes.c Fri Nov 23 11:15:14 2018 +0000
+++ b/lib/libcurses/attributes.c Fri Nov 23 11:16:59 2018 +0000
@@ -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 @@
*/
attr = (attr & ~__COLOR) | COLOR_PAIR(pair);
- __wattr_off(win, __ATTRIBUTES);
+ __wattr_off(win, WA_ATTRIBUTES);
__wattr_on(win, attr);
return OK;
}
Home |
Main Index |
Thread Index |
Old Index