]> git.ipfire.org Git - thirdparty/git.git/commit - utf8.c
Actually make print_wrapped_text() useful
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 27 Feb 2007 15:20:31 +0000 (16:20 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 28 Feb 2007 01:29:02 +0000 (17:29 -0800)
commit094e03b039aeaad759227540491c235b3a83b83a
tree97e748a42dc33cde1be07e0ce31737bf90fcd3a6
parente52a5de45ab8b61bdddf48a466cb3388b38ad7a4
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
utf8.c
utf8.h