Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 8406 → Rev 8407

/programs/cmm/app_plus/app_plus.c
70,6 → 70,11
 
void main()
{
if (param) {
SetAdditionalSystemDirectory("kolibrios", #param+1);
ExitProcess();
}
 
WaitAutosearch();
CheckKosMounted();
 
/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:
/programs/cmm/lib/obj/libimg.h
147,6 → 147,9
:void libimg_image::convert_into(dword _to)
{
img_convert stdcall(image, 0, _to, 0, 0);
$push eax
img_destroy stdcall(image);
$pop eax
if (!EAX) {
notify("'LibImg convertation error!'E");
} else {
/programs/cmm/sysmon/sysmon.c
108,7 → 108,8
int btn;
//dword cpu_frequency = GetCpuFrequency()/1000;
load_lib();
SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER);
@SetWindowLayerBehaviour(-1, ZPOS_ALWAYS_TOP);
@SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER);
loop() switch(@WaitEventTimeout(50))
{
case evMouse:
121,7 → 122,7
if (select_list.ProcessKey(key_scancode)) SelectList_LineChanged();
break;
case evButton:
btn = GetButtonID();
btn = @GetButtonID();
if (1==btn) ExitProcess();
 
if (show_system.click(btn)) {