Module Name: src
Committed By: snj
Date: Fri Jun 19 17:17:59 UTC 2015
Modified Files:
src/lib/libcurses [netbsd-6]: unctrl.h
Log Message:
Pull up following revision(s) (requested by wiz in ticket #1302):
lib/libcurses/unctrl.h: revision 1.5
Fix quoting in macro.
Needed by dialog-1.2-20150513.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.36.1 src/lib/libcurses/unctrl.h
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/unctrl.h
diff -u src/lib/libcurses/unctrl.h:1.4 src/lib/libcurses/unctrl.h:1.4.36.1
--- src/lib/libcurses/unctrl.h:1.4 Mon May 28 15:01:58 2007
+++ src/lib/libcurses/unctrl.h Fri Jun 19 17:17:59 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: unctrl.h,v 1.4 2007/05/28 15:01:58 blymn Exp $ */
+/* $NetBSD: unctrl.h,v 1.4.36.1 2015/06/19 17:17:59 snj Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -53,6 +53,6 @@ __END_DECLS
#define unctrllen(c) __unctrllen[((unsigned char)c) & 0xff]
#ifdef HAVE_WCHAR
-#define wunctrl(wc) __wunctrl[( int )(wc->vals[ 0 ]) & 0xff]
+#define wunctrl(wc) __wunctrl[( int )((wc)->vals[ 0 ]) & 0xff]
#endif /* HAVE_WCHAR */
#endif /* _UNCTRL_H_ */