aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ring.c')
-rw-r--r--src/ring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ring.c b/src/ring.c
index 5a9e74e..6a4eae5 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -524,7 +524,7 @@ teco_state_save_file_done(teco_machine_main_t *ctx, const teco_string_t *str, GE
g_autofree gchar *filename = teco_file_expand_path(str->data);
if (teco_qreg_current) {
- if (!teco_qreg_save(teco_qreg_current, filename, error))
+ if (!teco_qreg_current->vtable->save(teco_qreg_current, filename, error))
return NULL;
} else {
if (!teco_buffer_save(teco_ring_current, *filename ? filename : NULL, error))