diff options
Diffstat (limited to 'libcons')
-rw-r--r-- | libcons/ChangeLog | 2 | ||||
-rw-r--r-- | libcons/file-changed.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libcons/ChangeLog b/libcons/ChangeLog index e6323d2f..6b21a264 100644 --- a/libcons/ChangeLog +++ b/libcons/ChangeLog @@ -1,5 +1,7 @@ 2002-09-10 Marcus Brinkmann <marcus@gnu.org> + * file-changed.c (cons_S_file_changed): Fix typo in last change. + * cons.h: New prototype for cons_vcons_set_scroll_lock. (struct vcons): Add member FLAGS to state. * file-changed.c (cons_S_file_changed): Handle change of flags. diff --git a/libcons/file-changed.c b/libcons/file-changed.c index fabc7f6e..2c91fe51 100644 --- a/libcons/file-changed.c +++ b/libcons/file-changed.c @@ -206,8 +206,8 @@ cons_S_file_changed (cons_notify_t notify, natural_t tickno, { uint32_t flags = vcons->display->flags; - if (flags & CONS_FLAGS_SCROLL_LOCK - != vcons->display->flags & CONS_FLAGS_SCROLL_LOCK) + if ((flags & CONS_FLAGS_SCROLL_LOCK) + != (vcons->state.flags & CONS_FLAGS_SCROLL_LOCK)) cons_vcons_set_scroll_lock (vcons, flags & CONS_FLAGS_SCROLL_LOCK); vcons->state.flags = flags; |