summaryrefslogtreecommitdiff
path: root/xlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlib.c')
-rw-r--r--xlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlib.c b/xlib.c
index d5c078c..a94e8f8 100644
--- a/xlib.c
+++ b/xlib.c
@@ -405,7 +405,7 @@ void uudisp_refresh(struct uudisp *d, struct uuterm *t)
int x1, x2, idx, y;
/* Clean up cursor first.. */
- if (p->curs_on && (!(d->blink&1) || t->x != p->curs_x || t->y != p->curs_y)) {
+ if (p->curs_on && (!d->blink || t->x != p->curs_x || t->y != p->curs_y)) {
idx = t->rows[p->curs_y]->idx;
if ((unsigned)p->slices_y[idx] < d->h)
blit_slice(d, idx, p->curs_x, p->curs_x);