From mboxrd@z Thu Jan 1 00:00:00 1970 From: william.bell at frog.za.net (William Bell) Date: Mon, 17 Sep 2012 16:54:55 +0200 Subject: [PATCH] more validation fixes (passes xhtml strict) Message-ID: <505739BF.7030204@frog.za.net> From b01e90b891a41dc0df808cfa88caf56f94978257 Mon Sep 17 00:00:00 2001 From: William Bell Date: Mon, 17 Sep 2012 16:40:21 +0200 Subject: [PATCH] validation --- ui-diff.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui-diff.c b/ui-diff.c index 0922217..a79e451 100644 --- a/ui-diff.c +++ b/ui-diff.c @@ -105,7 +105,7 @@ static void print_fileinfo(struct fileinfo *info) } html(""); if (info->binary) { - htmlf("bin%ld -> %ld bytes", + htmlf("bin%ld -> %ld bytes", info->old_size, info->new_size); return; } @@ -314,7 +314,7 @@ void cgit_print_diff_ctrls() html("diff options"); html("

"); cgit_add_hidden_formfields(1, 0, ctx.qry.page); - html(""); + html("

"); html(""); html(""); html(""); @@ -346,9 +346,9 @@ void cgit_print_diff_ctrls() html_intoption(1, "ssdiff", curr); html(""); html("
context:
"); - html(""); + html(""); html("
"); - html("

"); + html(""); html(""); } -- 1.7.9.5