Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4647 → Rev 4648

/programs/cmm/TWB/TWB.c
305,10 → 305,8
TextGoDown(list.x + 5, stroka * 10 + list.y + 5, list.w - 20); //çàêðàøèâàåì ñëåäóùóþ ñòðîêó
}
DrawPage();
 
line=NULL;
if (tag) WhatTextStyle(list.x + 5, stroka * 10 + list.y + 5, list.w - 20); //îáðàáîòêà òåãîâ
 
tag = parametr = tagparam = ignor_param = NULL;
break;
default:
419,9 → 417,10
DrawBuf.Fill(bg_color);
}
} while(GetNextParam());
if (opened)
if (opened) && (cur_encoding==_DEFAULT)
{
if (cur_encoding==_DEFAULT) BufEncode(_UTF); //if no encoding specified it would be UTF
debugln("Document has no information about encoding, UTF will be used");
BufEncode(_UTF);
}
return;
}
637,6 → 636,7
{
strcpy(#options, #options[strrchr(#options, '=')]); //ïîèñê â content=
strlwr(#options);
meta_encoding = _DEFAULT;
if (!strcmp(#options, "utf-8")) || (!strcmp(#options,"utf8")) meta_encoding = _UTF;
if (!strcmp(#options, "koi8-r")) || (!strcmp(#options, "koi8-u")) meta_encoding = _KOI;
if (!strcmp(#options, "windows-1251")) || (!strcmp(#options, "windows1251")) meta_encoding = _WIN;