uhtml: honor default charset -c when not found in document

This commit is contained in:
cinap_lenrek 2013-07-14 16:44:16 +02:00
parent 1af7323238
commit 1f850cbab1

View file

@ -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);