Mon, 19 May 2025 15:10:11 +0200
fix mix of positional and non-positional printf specifiers
src/html.cpp | file | annotate | diff | comparison | revisions |
--- a/src/html.cpp Mon May 19 15:09:54 2025 +0200 +++ b/src/html.cpp Mon May 19 15:10:11 2025 +0200 @@ -148,7 +148,7 @@ void html::heading_repo(const std::string& repo) { indent(); - printf("<h1 data-repo=\"%s\">%1$s</h1>\n", encode(repo).c_str()); + printf("<h1 data-repo=\"%1$s\">%1$s</h1>\n", encode(repo).c_str()); } void html::heading_author(const std::string& author, unsigned int total_commits) {