aca6a33817b9af8247abc38ca1bf28012b7dda3b galt Fri Mar 5 12:52:34 2010 -0800 fixing link formatting regarding position of pre-tag section diff --git git-reports.c git-reports.c index 36924ff..48e7dc4 100644 --- git-reports.c +++ git-reports.c @@ -473,8 +473,9 @@ fprintf(h, "\n"); } } +fprintf(h, "</pre>\n"); fprintf(h, "switch to <A href=\"index-by-file.html\">files view</A>, <A href=\"../index.html\">user index</A>\n"); -fprintf(h, "</pre>\n</body>\n</html>\n"); +fprintf(h, "</body>\n</html>\n"); fclose(h); *saveUlc = userLinesChanged; *saveUfc = userFileCount; @@ -618,10 +619,16 @@ fprintf(h, "\n"); } if (u) + { + fprintf(h, "</pre>\n"); fprintf(h, "switch to <A href=\"index.html\">commits view</A>, <A href=\"../index.html\">user index</A>"); + } else + { fprintf(h, "\n lines changed: %d\n files changed: %d\n", totalLinesChanged, totalFileCount); -fprintf(h, "</pre>\n</body>\n</html>\n"); + fprintf(h, "</pre>\n"); + } +fprintf(h, "</body>\n</html>\n"); fclose(h); }