diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 17:44:50 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 18:22:21 +0200 |
commit | 745a76a7b317491d60ebaaba927cbbe2959a1635 (patch) | |
tree | 30270f195e586ac4a912cae8ead6fa8ae611e85a /src/spawn.c | |
parent | 4f231871a0208ec9bcc2679fce25d3b9795d1597 (diff) | |
download | sciteco-745a76a7b317491d60ebaaba927cbbe2959a1635.tar.gz |
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
Diffstat (limited to 'src/spawn.c')
-rw-r--r-- | src/spawn.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |