Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 8406 → Rev 8407

/programs/cmm/browser/TWB/TWB.c
282,8 → 282,20
if (tag.name) {
CheckForLineBreak();
Paint();
if (tag.name) SetStyle();
if (tag.name) {
EAX = cur_encoding;
$push eax
SetStyle();
$pop eax
// The thing is that UTF if longer than other encodings.
// So if encoding was changed to UTF than $bufpos position is wrong now,
// and we have to start parse from the very beginning
if (EAX != cur_encoding) && (cur_encoding == CH_UTF8) {
ParseHtml(bufpointer, bufsize);
return;
}
}
}
break;
default:
_DEFAULT: