stagit

minor style fix

Hiltjo Posthuma contact@arjunchoudhary.com

commit: 53b1ab1 parent: 1f46597
1 files changed, 1 insertions(+), 1 deletions(-)
Mstagit.c+1-1
M · stagit.c +1, -1
1@@ -708,7 +708,7 @@ writefilestree(FILE *fp, git_tree *tree, const char *branch, const char *path)
2 			else
3 				fprintf(fp, "%juB", (uintmax_t)filesize);
4 			fputs("</td></tr>\n", fp);
5-		} else if (git_submodule_lookup(&module, repo, entryname) == 0) {
6+		} else if (!git_submodule_lookup(&module, repo, entryname)) {
7 			fputs("<tr><td>m---------</td><td>", fp);
8 			if ((moduleurl = git_submodule_url(module))) {
9 				fprintf(fp, "<a class=\"module\" href=\"%s\">",