]> git.armaanb.net Git - stagit.git/blobdiff - stagit.c
Use minified stylesheet
[stagit.git] / stagit.c
index 2d002032cd7770792de935137b4ccf4bb24372c5..daa81fc67d36c1f54909aefea1024c0aa710c3b8 100644 (file)
--- a/stagit.c
+++ b/stagit.c
@@ -378,7 +378,7 @@ writeheader(FILE *fp, const char *title)
        fprintf(fp, "</title>\n<link rel=\"icon\" type=\"image/png\" href=\"%sfavicon.png\" />\n", relpath);
        fprintf(fp, "<link rel=\"alternate\" type=\"application/atom+xml\" title=\"%s Atom Feed\" href=\"%satom.xml\" />\n",
                name, relpath);
-       fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.css\" />\n", relpath);
+       fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%sstyle.min.css\" />\n", relpath);
        fprintf(fp, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%ssyntax.css\" />\n", relpath);
        fputs("</head>\n<body>\n<table><tr><td>", fp);
        fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",
@@ -1173,7 +1173,7 @@ main(int argc, char *argv[])
        strcpy(cwd, getcwd(cwd, sizeof(cwd)));
        cp("/usr/local/share/doc/stagit/syntax.css", strcat(cwd, "/syntax.css"));
        strcpy(cwd, getcwd(cwd, sizeof(cwd)));
-       cp("/usr/local/share/doc/stagit/style.css", strcat(cwd, "/style.css"));
+       cp("/usr/local/share/doc/stagit/style.min.css", strcat(cwd, "/style.min.css"));
 
        /* strip .git suffix */
        if (!(strippedname = strdup(name)))