Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 4828 → Rev 4827

/programs/network/ircc/window.inc
35,7 → 35,7
pop eax
 
mov [ebx + window.data_ptr], eax
mov [ebx + window.flags], FLAG_SCROLL_LOW
mov [ebx + window.flags], 0x04
 
add eax, window_data.text+2 ; let text begin at offset 2, this way the text will be prepended with two null bytes
mov [ebx + window.text_start], eax
/programs/network/ircc/ircc.asm
417,10 → 417,9
mov edx, [scroll2.position]
add edx, [scroll2.cur_area]
sub edx, [scroll2.max_area]
jne .not_low
jne @f
or [edi+window.flags], FLAG_SCROLL_LOW
.not_low:
mov edx, [scroll2.position]
@@: mov edx, [scroll2.position]
sub edx, [edi + window.text_line_print]
je @f
call draw_channel_text.scroll_to_pos