From 09dc60b4d73f290ccad37a086a6f867fe11efa44 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sun, 29 Jul 2018 06:16:42 +0100 Subject: patch and plain diff works --- ui_70-commit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui_70-commit.c') diff --git a/ui_70-commit.c b/ui_70-commit.c index 7e6d84a..d89f1b2 100644 --- a/ui_70-commit.c +++ b/ui_70-commit.c @@ -42,7 +42,7 @@ void cgit_print_commit(char *hex, const char *prefix) load_ref_decorations(NULL, DECORATE_FULL_REFS); cgit_print_layout_start(); - cgit_print_diff_ctrls(); + /*cgit_print_diff_ctrls();*/ cgit_gopher_start_selector(GOPHER_INFO); cgit_gopher_text("author: "); @@ -80,7 +80,7 @@ void cgit_print_commit(char *hex, const char *prefix) cgit_commit_link(tmp, NULL, NULL, ctx.qry.head, tmp, prefix); cgit_gopher_end_selector(); - cgit_gopher_start_selector(GOPHER_MENU); + cgit_gopher_start_selector(GOPHER_TXT); cgit_gopher_text("patch "); cgit_gopher_tab(); cgit_patch_link("patch", NULL, NULL, NULL, tmp, prefix); -- cgit v1.2.3