Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4648 → Rev 4646

/programs/cmm/TWB/TWB.c
305,8 → 305,10
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:
417,10 → 419,9
DrawBuf.Fill(bg_color);
}
} while(GetNextParam());
if (opened) && (cur_encoding==_DEFAULT)
if (opened)
{
debugln("Document has no information about encoding, UTF will be used");
BufEncode(_UTF);
if (cur_encoding==_DEFAULT) BufEncode(_UTF); //if no encoding specified it would be UTF
}
return;
}
636,7 → 637,6
{
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;