diff options
Diffstat (limited to 'src/ring.h')
| -rw-r--r-- | src/ring.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |
