aboutsummaryrefslogtreecommitdiff
path: root/dcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'dcs.c')
-rw-r--r--dcs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dcs.c b/dcs.c
index fb4a14b6..7ce1a868 100644
--- a/dcs.c
+++ b/dcs.c
@@ -427,8 +427,7 @@ dcs_hook(struct terminal *term, uint8_t final)
int p2 = vt_param_get(term, 1,0);
int p3 = vt_param_get(term, 2, 0);
- sixel_init(term, p1, p2, p3);
- term->vt.dcs.put_handler = &sixel_put;
+ term->vt.dcs.put_handler = sixel_init(term, p1, p2, p3);
term->vt.dcs.unhook_handler = &sixel_unhook;
break;
}