~mdw
/
sgt
/
agedu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Chris Walker reports a silly typo in HTML reporting: the < and > signs
[sgt/agedu]
/
html.c
diff --git
a/html.c
b/html.c
index
8233993
..
ad23159
100644
(file)
--- 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) {
char buf[80];
if (i == 0) {
- strcpy(buf, "&
l
t; ");
+ strcpy(buf, "&
g
t; ");
round_and_format_age(ctx, ctx->thresholds[0], buf+5, 0);
} else if (i == MAXCOLOUR) {
round_and_format_age(ctx, ctx->thresholds[0], buf+5, 0);
} else if (i == MAXCOLOUR) {
- strcpy(buf, "&
g
t; ");
+ strcpy(buf, "&
l
t; ");
round_and_format_age(ctx, ctx->thresholds[MAXCOLOUR-1], buf+5, 0);
} else {
unsigned long long midrange =
round_and_format_age(ctx, ctx->thresholds[MAXCOLOUR-1], buf+5, 0);
} else {
unsigned long long midrange =