summaryrefslogtreecommitdiffstats
path: root/lib/libcurses/cr_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcurses/cr_put.c')
-rw-r--r--lib/libcurses/cr_put.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcurses/cr_put.c b/lib/libcurses/cr_put.c
index b69b01a..f17bb2a 100644
--- a/lib/libcurses/cr_put.c
+++ b/lib/libcurses/cr_put.c
@@ -298,7 +298,7 @@ plod(cnt, in_refresh)
* If it will be cheaper, or if we can't back up, then send a return
* preliminarily.
*/
- if (j > i + 1 || outcol > destcol && !BS && !BC) {
+ if ((j > i + 1) || (outcol > destcol && !BS && !BC)) {
/*
* BUG: this doesn't take the (possibly long) length of CR
* into account.
OpenPOWER on IntegriCloud