summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 e6a790e..36b39fc 100644
--- a/lib/libcurses/cr_put.c
+++ b/lib/libcurses/cr_put.c
@@ -79,7 +79,7 @@ __mvcur(ly, lx, y, x, in_refresh)
destline = y;
outcol = lx;
outline = ly;
- if (destline != destcol || outline != outcol)
+ if (destline != outline || destcol != outcol)
fgoto(in_refresh);
return (OK);
}
OpenPOWER on IntegriCloud