diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-10-03 17:08:40 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-10-03 17:08:40 -0700 |
commit | 30214bf817c1e18235fcddacac851ecc5cbe66a0 (patch) | |
tree | af42c9c9170096a15d4de9bb27d13385b4b70b7b /src/til_builtins.c | |
parent | f97c10d4fa915a7730a814b8de05cafb3750fdae (diff) |
libs/txt,modules/*: rename txt_render_fragment()
Mechanical rename to txt_render_fragment_aligned(), updating all
existing call sites accordingly.
This is a preparatory commit for introducing an offsetted variant
of txt_render_fragment() (txt_render_fragment_offsetted()).
No functional difference, purely naming changes.
Diffstat (limited to 'src/til_builtins.c')
-rw-r--r-- | src/til_builtins.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/til_builtins.c b/src/til_builtins.c index aa6c159..e127261 100644 --- a/src/til_builtins.c +++ b/src/til_builtins.c @@ -143,12 +143,12 @@ static void _ref_render_fragment(til_module_context_t *context, til_stream_t *st txt_t *msg = txt_newf("%s: BAD PATH \"%s\"", context->setup->path, s->path); til_fb_fragment_clear(*fragment_ptr); - txt_render_fragment(msg, *fragment_ptr, 0xffffffff, - 0, 0, - (txt_align_t){ - .horiz = TXT_HALIGN_LEFT, - .vert = TXT_VALIGN_TOP, - }); + txt_render_fragment_aligned(msg, *fragment_ptr, 0xffffffff, + 0, 0, + (txt_align_t){ + .horiz = TXT_HALIGN_LEFT, + .vert = TXT_VALIGN_TOP, + }); txt_free(msg); /* TODO: maybe print all available contexts into the fragment? */ return; |