Module Name: src
Committed By: wiz
Date: Thu May 28 06:28:37 UTC 2015
Modified Files:
src/lib/libcurses: unctrl.h
Log Message:
Fix quoting in macro.
Needed by dialog-1.2-20150513.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.5
--- src/lib/libcurses/unctrl.h:1.4 Mon May 28 15:01:58 2007
+++ src/lib/libcurses/unctrl.h Thu May 28 06:28:37 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: unctrl.h,v 1.4 2007/05/28 15:01:58 blymn Exp $ */
+/* $NetBSD: unctrl.h,v 1.5 2015/05/28 06:28:37 wiz 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_ */