summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-12-27 17:22:58 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-12-27 17:22:58 -0800
commit1a6067f6a3543002e5090461944454486a7e0913 (patch)
tree4ff1e4e0749dc08372d170c509d62bb22c1a990e /include
parent4a7d3cc4bd7218acde77df090c18552927afd551 (diff)
downloadncurses-1a6067f6a3543002e5090461944454486a7e0913.tar.gz
ncurses-1a6067f6a3543002e5090461944454486a7e0913.tar.bz2
ncurses-1a6067f6a3543002e5090461944454486a7e0913.zip
apply ncurses-5.9-20110611.patch
Diffstat (limited to 'include')
-rw-r--r--include/curses.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/curses.h.in b/include/curses.h.in
index 7a820a1..e67c3f2 100644
--- a/include/curses.h.in
+++ b/include/curses.h.in
@@ -32,7 +32,7 @@
* and: Thomas E. Dickey 1996-on *
****************************************************************************/
-/* $Id: curses.h.in,v 1.223 2011/05/28 21:38:30 tom Exp $ */
+/* $Id: curses.h.in,v 1.224 2011/06/06 08:44:06 tom Exp $ */
#ifndef __NCURSES_H
#define __NCURSES_H
@@ -1271,7 +1271,7 @@ extern NCURSES_EXPORT(int) NCURSES_SP_NAME(use_legacy_coding) (SCREEN*, int); /*
OK)
#define wattr_get(win,a,p,opts) (((win) \
? ((void)((a) != (void *)0 && (*(a) = (win)->_attrs)), \
- (void)((p) != (void *)0 && (*(p) = (short)(win)->_color))) \
+ (void)((p) != (void *)0 && (*(p) = (short)(win)->_color)),OK) \
: OK), \
OK)
#else
@@ -1281,7 +1281,7 @@ extern NCURSES_EXPORT(int) NCURSES_SP_NAME(use_legacy_coding) (SCREEN*, int); /*
OK)
#define wattr_get(win,a,p,opts) (((win) \
? ((void)((a) != (void *)0 && (*(a) = (win)->_attrs)), \
- (void)((p) != (void *)0 && (*(p) = (short)PAIR_NUMBER((win)->_attrs)))) \
+ (void)((p) != (void *)0 && (*(p) = (short)PAIR_NUMBER((win)->_attrs))),OK) \
: OK), \
OK)
#endif