From fd04a49d84ac4b3755f2c80c54ee905f27248abb Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sun, 19 Oct 2025 21:01:55 +0100 Subject: [PATCH] term: update to use new object system --- term/paragraph.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/term/paragraph.c b/term/paragraph.c index e37f5b1..5caf962 100644 --- a/term/paragraph.c +++ b/term/paragraph.c @@ -1,5 +1,3 @@ -#include "print.h" - #include #include #include @@ -20,7 +18,7 @@ static void indent( } static unsigned int extract_line( - const char **sp, unsigned int line_length, struct b_string *out, + const char **sp, unsigned int line_length, b_string *out, struct b_paragraph_format *format) { const char *start = *sp; @@ -159,7 +157,7 @@ static b_status print_paragraph_tty( need_indent = true; } - b_string_release(line); + b_string_unref(line); return B_SUCCESS; }