From 094e03b039aeaad759227540491c235b3a83b83a Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 27 Feb 2007 16:20:31 +0100 Subject: Actually make print_wrapped_text() useful Now, it returns the current column, does not add a newline, and you can pass a negative indent, to indicate that the indent was already printed. With this, you can actually continue in the middle of a paragraph, not having to print everything into a buffer first. Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano --- utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utf8.h') diff --git a/utf8.h b/utf8.h index a07c5a88a..15db6f1f2 100644 --- a/utf8.h +++ b/utf8.h @@ -5,7 +5,7 @@ int utf8_width(const char **start); int is_utf8(const char *text); int is_encoding_utf8(const char *name); -void print_wrapped_text(const char *text, int indent, int indent2, int len); +int print_wrapped_text(const char *text, int indent, int indent2, int len); #ifndef NO_ICONV char *reencode_string(const char *in, const char *out_encoding, const char *in_encoding); -- cgit v1.2.1