diff options
-rw-r--r-- | lib/libncurses/lib_addch.c | 2 | ||||
-rw-r--r-- | lib/libncurses/lib_bkgd.c | 2 | ||||
-rw-r--r-- | lib/libncurses/lib_clrbot.c | 2 | ||||
-rw-r--r-- | lib/libncurses/lib_clreol.c | 2 | ||||
-rw-r--r-- | lib/libncurses/lib_doupdate.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/libncurses/lib_addch.c b/lib/libncurses/lib_addch.c index 15ecf59..00684ed 100644 --- a/lib/libncurses/lib_addch.c +++ b/lib/libncurses/lib_addch.c @@ -56,7 +56,7 @@ chtype ch = c; T(("win attr = %x", win->_attrs)); ch |= win->_attrs; - if ((win->_line[y][x]&A_CHARTEXT) == ' ') + if (win->_line[y][x]&A_CHARTEXT == ' ') ch |= win->_bkgd; else ch |= (win->_bkgd&A_ATTRIBUTES); diff --git a/lib/libncurses/lib_bkgd.c b/lib/libncurses/lib_bkgd.c index 0628935..a74c56e 100644 --- a/lib/libncurses/lib_bkgd.c +++ b/lib/libncurses/lib_bkgd.c @@ -27,7 +27,7 @@ int x, y; T(("wbkgd(%x, %x) called", win, ch)); for (y = 0; y < win->_maxy; y++) for (x = 0; x < win->_maxx; x++) - if ((win->_line[y][x]&A_CHARTEXT) == ' ') + if (win->_line[y][x]&A_CHARTEXT == ' ') win->_line[y][x] |= ch; else win->_line[y][x] |= (ch&A_ATTRIBUTES); diff --git a/lib/libncurses/lib_clrbot.c b/lib/libncurses/lib_clrbot.c index 22f8726..fa48db8 100644 --- a/lib/libncurses/lib_clrbot.c +++ b/lib/libncurses/lib_clrbot.c @@ -12,7 +12,7 @@ #include "curses.priv.h" -#define BLANK (' '|A_NORMAL) +#define BLANK ' '|A_NORMAL int wclrtobot(WINDOW *win) { diff --git a/lib/libncurses/lib_clreol.c b/lib/libncurses/lib_clreol.c index 12b78fe..a22d6b2 100644 --- a/lib/libncurses/lib_clreol.c +++ b/lib/libncurses/lib_clreol.c @@ -12,7 +12,7 @@ #include "curses.priv.h" -#define BLANK (' '|A_NORMAL) +#define BLANK ' '|A_NORMAL int wclrtoeol(WINDOW *win) { diff --git a/lib/libncurses/lib_doupdate.c b/lib/libncurses/lib_doupdate.c index 9f56386..2dba944 100644 --- a/lib/libncurses/lib_doupdate.c +++ b/lib/libncurses/lib_doupdate.c @@ -195,7 +195,7 @@ static int countc(int c) ** */ -#define BLANK (' '|A_NORMAL) +#define BLANK ' '|A_NORMAL static void ClrUpdate(WINDOW *scr) { |