aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/tcs/html.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-02-14 19:44:18 +0000
committerrsc <devnull@localhost>2006-02-14 19:44:18 +0000
commit1a8bd157b665a7ef92f490430ba6b1eb7484b1e6 (patch)
treefabae7f2e3c04c200f238014bb3484637a5630ba /src/cmd/tcs/html.c
parent7236e45bbc7a899c48c02b5c03d6f889893d9131 (diff)
downloadplan9port-1a8bd157b665a7ef92f490430ba6b1eb7484b1e6.tar.gz
plan9port-1a8bd157b665a7ef92f490430ba6b1eb7484b1e6.tar.bz2
plan9port-1a8bd157b665a7ef92f490430ba6b1eb7484b1e6.zip
better labels
Diffstat (limited to 'src/cmd/tcs/html.c')
-rw-r--r--src/cmd/tcs/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/tcs/html.c b/src/cmd/tcs/html.c
index d0f08006..8a27f1c2 100644
--- a/src/cmd/tcs/html.c
+++ b/src/cmd/tcs/html.c
@@ -323,7 +323,7 @@ html_out(Rune *r, int n, long *x)
else if((s = findbyrune(*r)) != nil)
Bprint(&b, "&%s;", s);
else
- Bprint(&b, "&#x%04x;", *r);
+ Bprint(&b, "&#%d;", *r);
}
Bflush(&b);
}