From 00c965147b27da7fb9783e96c1170baddddd7d30 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 13 Mar 1995 19:02:04 +0000 Subject: Fix wbkgdset macro Submitted by: Andreas Wetzel --- lib/libncurses/curses.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libncurses/curses.h b/lib/libncurses/curses.h index 74289b96cb52c..692c1a6faf53c 100644 --- a/lib/libncurses/curses.h +++ b/lib/libncurses/curses.h @@ -329,7 +329,7 @@ extern int slk_touch(void); #define getsyx(y,x) getyx(stdscr, y, x) #define setsyx(y,x) (stdscr->_cury = y, stdscr->_curx = x) -#define wbkgdset(w,ch) (win->_bkgd = ch) +#define wbkgdset(win,ch) ((win)->_bkgd = ch) /* It seems older SYSV curses define these */ #define getattrs(win) (win->_attrs) -- cgit v1.3