diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-07-14 16:44:16 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2013-07-14 16:44:16 +0200 |
commit | 1f850cbab17f02eeccaf70332254188101ee8327 (patch) | |
tree | 3613ad1dfa742752f1db96a79bd3f018b59c3502 /sys/src/cmd/uhtml.c | |
parent | 1af732323852c6e6a06f7c3e84899d9055289c62 (diff) |
uhtml: honor default charset -c when not found in document
Diffstat (limited to 'sys/src/cmd/uhtml.c')
-rw-r--r-- | sys/src/cmd/uhtml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/uhtml.c b/sys/src/cmd/uhtml.c index 08e512354..ca8c154ee 100644 --- a/sys/src/cmd/uhtml.c +++ b/sys/src/cmd/uhtml.c @@ -131,6 +131,8 @@ main(int argc, char *argv[]) s = ++e; } while(t); } + if(cset) + goto Found; s = p; while(s+UTFmax < p+nbuf){ s += chartorune(&r, s); |