diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-02-14 10:29:08 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-14 10:29:08 -0800 |
commit | 3cc3cf970c5ce477bde78df73614d1efba2b52eb (patch) | |
tree | 2bcc9526ccf586db926050ee6e01fe2e2e418982 /utf8.h | |
parent | eb213fc3fce895e1b279247dd5e5fa6c168f90e4 (diff) | |
parent | c082196575e13dd5960031f213b20e2df989ca18 (diff) | |
download | git-3cc3cf970c5ce477bde78df73614d1efba2b52eb.tar.gz |
Merge branch 'jx/utf8-printf-width'
Use a new helper that prints a message and counts its display width
to align the help messages parse-options produces.
* jx/utf8-printf-width:
Add utf8_fprintf helper that returns correct number of columns
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -8,6 +8,7 @@ int utf8_strwidth(const char *string); int is_utf8(const char *text); int is_encoding_utf8(const char *name); int same_encoding(const char *, const char *); +int utf8_fprintf(FILE *, const char *, ...); void strbuf_add_wrapped_text(struct strbuf *buf, const char *text, int indent, int indent2, int width); |