diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2002-09-10 18:59:42 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2002-09-10 18:59:42 +0000 |
commit | fad9d77677aca4ce2fd11705f87adca9b0524ecf (patch) | |
tree | 0e78f9b022269317be61f7fd53c16a4f279da835 /libcons | |
parent | 1d5cf1783238fad25a6e55d5dcb324f6d8fb9918 (diff) |
2002-09-10 Marcus Brinkmann <marcus@gnu.org>
* file-changed.c (cons_S_file_changed): Fix typo in last change.
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; |