From: simon Date: Mon, 20 Feb 2012 07:30:02 +0000 (+0000) Subject: Chris Walker reports a silly typo in HTML reporting: the < and > signs X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/commitdiff_plain/6a4287ff3a3c14d68c6f4093ed2eb99a95f1266d Chris Walker reports a silly typo in HTML reporting: the < and > signs used in the mouseover text for file ages outside the colour range were the wrong way round! I must have been thinking about comparison of time_ts, in which case < does mean older, but by the time I print the output it's in the form of an age, so > means older. git-svn-id: svn://svn.tartarus.org/sgt/agedu@9415 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/html.c b/html.c index 8233993..ad23159 100644 --- a/html.c +++ b/html.c @@ -959,10 +959,10 @@ char *html_query(const void *t, unsigned long index, char buf[80]; if (i == 0) { - strcpy(buf, "< "); + strcpy(buf, "> "); round_and_format_age(ctx, ctx->thresholds[0], buf+5, 0); } else if (i == MAXCOLOUR) { - strcpy(buf, "> "); + strcpy(buf, "< "); round_and_format_age(ctx, ctx->thresholds[MAXCOLOUR-1], buf+5, 0); } else { unsigned long long midrange =