aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ring.h')
-rw-r--r--src/ring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ring.h b/src/ring.h
index f5606d1..7f2db7c 100644
--- a/src/ring.h
+++ b/src/ring.h
@@ -159,7 +159,7 @@ teco_current_doc_must_undo(void)
* If there's no currently edited Q-Register
* we must be editing the current buffer
*/
- return !teco_qreg_current || teco_qreg_current->must_undo;
+ return !teco_qreg_current || teco_qreg_current->flags.must_undo;
}
/** update dot in the current document (Q-Register or buffer) */
@@ -167,7 +167,7 @@ static inline void
teco_current_doc_set_dot(teco_int_t dot)
{
if (teco_qreg_current) {
- if (teco_qreg_current->must_undo)
+ if (teco_qreg_current->flags.must_undo)
teco_undo_int(teco_qreg_current->string.dot);
teco_qreg_current->string.dot = dot;
} else {