Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1525 → Rev 1524

/programs/other/rtfread/trunk/rtfread.asm
485,26 → 485,20
mov esi, -1
mov eax, [procinfo2.box.width]
cmp eax, [window_width]
cmp eax, 140
je @f
mov [is_scroll_bar_needed], 0
cmp eax, 140
jnl @f
mov eax, 140
jg @f
mov edx, 140
@@:
mov edx, eax
mov [window_width], eax
 
mov eax, [procinfo2.box.height]
cmp eax, [window_height]
cmp eax, 80
je @f
mov [is_scroll_bar_needed], 0
cmp eax, 80
jnl @f
mov eax, 80
jg @f
mov esi, 80
@@:
mov esi, eax
mov [window_height], eax
 
mcall 67, -1, -1
 
727,9 → 721,8
; ‚ë ¬®¦¥â¥ § ¤ âì ï§ëª ¢ MACROS.INC (lang fix ï§ëª)
 
window_title: db 'RtfRead v1.034',0
buf_cmd_lin dd 0x0
is_scroll_bar_needed dd 0x0
window_width dd 0x0
window_height dd 0x0
;---------------------------------------------------------------------
l_libs_start: