Subversion Repositories Kolibri OS

Rev

Rev 4824 | Rev 6023 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4824 Rev 4828
Line 415... Line 415...
415
	mov	edi, [window_active]
415
	mov	edi, [window_active]
416
	and	[edi+window.flags], not FLAG_SCROLL_LOW
416
	and	[edi+window.flags], not FLAG_SCROLL_LOW
417
	mov	edx, [scroll2.position]
417
	mov	edx, [scroll2.position]
418
	add	edx, [scroll2.cur_area]
418
	add	edx, [scroll2.cur_area]
419
	sub	edx, [scroll2.max_area]
419
	sub	edx, [scroll2.max_area]
420
	jne	@f
420
	jne	.not_low
421
	or	[edi+window.flags], FLAG_SCROLL_LOW
421
	or	[edi+window.flags], FLAG_SCROLL_LOW
-
 
422
  .not_low:
422
  @@:	mov	edx, [scroll2.position]
423
	mov	edx, [scroll2.position]
423
	sub	edx, [edi + window.text_line_print]
424
	sub	edx, [edi + window.text_line_print]
424
	je	@f
425
	je	@f
425
	call	draw_channel_text.scroll_to_pos
426
	call	draw_channel_text.scroll_to_pos
426
  @@:
427
  @@: