stagit

align filesize header right, minor code-style

Hiltjo Posthuma contact@arjunchoudhary.com

commit: 35c2cbd parent: 426d80c
1 files changed, 5 insertions(+), 5 deletions(-)
Murmoms.c+5-5
M · urmoms.c +5, -5
 1@@ -561,8 +561,8 @@ writeatom(FILE *fp)
 2 	git_oid id;
 3 	size_t i, m = 100; /* max */
 4 
 5-	fputs("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n", fp);
 6-	fputs("<feed xmlns=\"http://www.w3.org/2005/Atom\">\n<title>", fp);
 7+	fputs("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
 8+	      "<feed xmlns=\"http://www.w3.org/2005/Atom\">\n<title>", fp);
 9 	xmlencode(fp, name, strlen(name));
10 	fputs(", branch master</title>\n<subtitle>", fp);
11 
12@@ -696,9 +696,9 @@ writefiles(FILE *fp)
13 	git_object *obj = NULL;
14 	git_commit *commit = NULL;
15 
16-	fputs("<table id=\"files\"><thead>\n"
17-	      "<tr><td>Mode</td><td>Name</td><td>Size</td></tr>\n"
18-	      "</thead><tbody>\n", fp);
19+	fputs("<table id=\"files\"><thead>\n<tr>"
20+	      "<td>Mode</td><td>Name</td><td class=\"num\">Size</td>"
21+	      "</tr>\n</thead><tbody>\n", fp);
22 
23 	if (git_revparse_single(&obj, repo, "HEAD"))
24 		return -1;