summaryrefslogtreecommitdiff
path: root/lib/libncurses/lib_bkgd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libncurses/lib_bkgd.c')
-rw-r--r--lib/libncurses/lib_bkgd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libncurses/lib_bkgd.c b/lib/libncurses/lib_bkgd.c
index a74c56e73bbb..06289351e7d9 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);