From 745a76a7b317491d60ebaaba927cbbe2959a1635 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 9 Sep 2024 17:44:50 +0200 Subject: teco_glyphs2bytes() and teco_bytes2glyphs() renamed to teco_interface_glyphs2bytes() and teco_interface_bytes2glyphs() (refs #5) * for consistency with all the other teco_view wrappers in interface.h --- src/spawn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/spawn.c') diff --git a/src/spawn.c b/src/spawn.c index 6d3a441..044b8de 100644 --- a/src/spawn.c +++ b/src/spawn.c @@ -214,8 +214,8 @@ teco_state_execute_initial(teco_machine_main_t *ctx, GError **error) if (!teco_expressions_pop_num_calc(&to, 0, error) || !teco_expressions_pop_num_calc(&from, 0, error)) return FALSE; - teco_spawn_ctx.from = teco_glyphs2bytes(from); - teco_spawn_ctx.to = teco_glyphs2bytes(to); + teco_spawn_ctx.from = teco_interface_glyphs2bytes(from); + teco_spawn_ctx.to = teco_interface_glyphs2bytes(to); rc = teco_bool(teco_spawn_ctx.from <= teco_spawn_ctx.to && teco_spawn_ctx.from >= 0 && teco_spawn_ctx.to >= 0); } -- cgit v1.2.3