about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui-patch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-patch.c b/ui-patch.c
index 79bc509..12abe10 100644
--- a/ui-patch.c
+++ b/ui-patch.c
@@ -131,6 +131,6 @@ void cgit_print_patch(char *hex, const char *prefix)
 		htmlf("(limited to '%s')\n\n", prefix);
 	cgit_diff_tree(old_sha1, sha1, filepair_cb, prefix, 0);
 	html("--\n");
-	htmlf("cgit %s\n", CGIT_VERSION);
+	htmlf("cgit %s\n", cgit_version);
 	cgit_free_commitinfo(info);
 }