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; }