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/search.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/search.c')
-rw-r--r-- | src/search.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/search.c b/src/search.c index c1dd542..e146def 100644 --- a/src/search.c +++ b/src/search.c @@ -78,12 +78,12 @@ teco_state_search_initial(teco_machine_main_t *ctx, GError **error) return FALSE; if (v1 <= v2) { teco_search_parameters.count = 1; - teco_search_parameters.from = teco_glyphs2bytes(v1); - teco_search_parameters.to = teco_glyphs2bytes(v2); + teco_search_parameters.from = teco_interface_glyphs2bytes(v1); + teco_search_parameters.to = teco_interface_glyphs2bytes(v2); } else { teco_search_parameters.count = -1; - teco_search_parameters.from = teco_glyphs2bytes(v2); - teco_search_parameters.to = teco_glyphs2bytes(v1); + teco_search_parameters.from = teco_interface_glyphs2bytes(v2); + teco_search_parameters.to = teco_interface_glyphs2bytes(v1); } if (teco_search_parameters.from < 0 || |