summaryrefslogtreecommitdiff
path: root/sys/src/cmd/abaco/util.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-07-14 18:31:07 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-07-14 18:31:07 +0200
commit1bc8f697807a8c93bc0903cb6c9879a4b33ea1d3 (patch)
tree745edc1568b98e7790b1708dce633575523f62b0 /sys/src/cmd/abaco/util.c
parent1f850cbab17f02eeccaf70332254188101ee8327 (diff)
abaco: simplify, pipeline html directly thru uhtml
Diffstat (limited to 'sys/src/cmd/abaco/util.c')
-rw-r--r--sys/src/cmd/abaco/util.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/src/cmd/abaco/util.c b/sys/src/cmd/abaco/util.c
index 7b66888f5..ecdb7c3ed 100644
--- a/sys/src/cmd/abaco/util.c
+++ b/sys/src/cmd/abaco/util.c
@@ -797,7 +797,6 @@ isspace(char c)
return c==' ' || c== '\t' || c=='\r' || c=='\n';
}
-static
int
findctype(char *b, int l, char *keyword, char *s)
{
@@ -836,19 +835,6 @@ findctype(char *b, int l, char *keyword, char *s)
return 0;
}
-char *
-convert(Runestr ctype, char *s, long *np)
-{
- char t[25], buf[256];
-
- *t = '\0';
- if(ctype.nr){
- snprint(buf, sizeof(buf), "%.*S", ctype.nr, ctype.r);
- findctype(t, sizeof(t), "charset", buf);
- }
- return uhtml(t, s, np);
-}
-
int
xtofchar(Rune *s, Font *f, long p)
{