diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2010-02-19 23:15:01 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-20 09:18:04 -0800 |
commit | bb96a2c9005f925b4e80ece0a7cd6230f7f4b43d (patch) | |
tree | 3a791dbe319728269666ac3f927c420d59f46334 /utf8.c | |
parent | 8a3c63e01d2b1df471beafff5fb78df4bade9388 (diff) | |
download | git-bb96a2c9005f925b4e80ece0a7cd6230f7f4b43d.tar.gz |
utf8.c: remove print_wrapped_text()
strbuf_add_wrapped_text() is called only from print_wrapped_text()
without a strbuf (in which case it writes its results to stdout).
At its only callsite, supply a strbuf, call strbuf_add_wrapped_text()
directly and remove the wrapper function.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -405,11 +405,6 @@ new_line: } } -int print_wrapped_text(const char *text, int indent, int indent2, int width) -{ - return strbuf_add_wrapped_text(NULL, text, indent, indent2, width); -} - int is_encoding_utf8(const char *name) { if (!name) |