On Sun, Oct 01, 2017 at 04:45:45PM +0200, René Scharfe wrote:
> strbuf_addf() can be used to add a specific number of space characters
> by using the format "%*s" with an empty string and specifying the
> desired width. Use strbuf_addchars() instead as it's shorter, makes the
> intent clearer and
strbuf_addf() can be used to add a specific number of space characters
by using the format "%*s" with an empty string and specifying the
desired width. Use strbuf_addchars() instead as it's shorter, makes the
intent clearer and is a bit more efficient.
Signed-off-by: Rene Scharfe
---
graph.c |
2 matches
Mail list logo