X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Fcurses.h.in;h=e67c3f251e42565b0691515fe2db2a1dc60ccedd;hp=7a820a1652827d22ea93918b9fca592909e28ce5;hb=8a0f1799616236ed1bc59aba36d3cc924fe39577;hpb=331f875facea2b7897c1ce0425ce0d111cc4175b diff --git a/include/curses.h.in b/include/curses.h.in index 7a820a16..e67c3f25 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