SZEDER Gábor <szeder.dev@xxxxxxxxx> writes: >> + if (ctx->nr_open_regions > 0) { >> + int len_indent = TR2_INDENT_LENGTH(ctx); >> + while (len_indent > dots.len) { >> + strbuf_addf(buf, "%s", dots.buf); > > Please use the much simpler are more idiomatic strbuf_addbuf() > function instead. Ahh, contrib/coccinelle/strbuf.cocci would help ;-)