X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=src%2Fstagit-index.c;h=ecdfbc1b52af277e462b69ae7f19158688a521b1;hb=516f65ffea797d22346a1acf596e69673e1c9a1d;hp=d1c663e2a8c26775a1ff1a369cb29009d30d5d38;hpb=9bdac4207a1c3e1caffc1f7d12356fe0282429fa;p=stagit.git diff --git a/src/stagit-index.c b/src/stagit-index.c index d1c663e..ecdfbc1 100644 --- a/src/stagit-index.c +++ b/src/stagit-index.c @@ -67,17 +67,18 @@ writeheader(char *path) { FILE *fp = fopen(path, "w"); fputs("\n" - "\n\n" + "\n\n" "\n" + "\n" "", fp); xmlencode(fp, description, strlen(description)); fprintf(fp, "\n\n", relpath); - fprintf(fp, "\n", relpath); + fprintf(fp, "\n", relpath); fputs("\n\n", fp); fprintf(fp, "\n\n" - "\n
\"\"", relpath); + "

", relpath); xmlencode(fp, description, strlen(description)); - fputs("

\n" + fputs("
\n" "
\n
\n
\n" "\n" "" @@ -223,7 +224,7 @@ main(int argc, char *argv[]) /* copy css */ char cwd[PATH_MAX]; strcpy(cwd, getcwd(cwd, sizeof(cwd))); - cp("/usr/local/share/stagit/style.min.css", strcat(cwd, "/style.min.css")); + cp("/usr/local/share/stagit/style.css", strcat(cwd, "/style.css")); /* cleanup */ git_repository_free(repo);
NameDescriptionOwner