Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1044 → Rev 1045

/programs/fs/kfar/trunk/kfar.asm
7,8 → 7,8
dd stacktop
dd 0, app_path
 
version equ '0.62'
version_dword equ 0*10000h + 62
version equ '0.63'
version_dword equ 0*10000h + 63
 
min_width = 54
max_width = 255
204,6 → 204,24
ja @f
mov [panel2_colmode], eax
@@:
push 0
push aLeftSortMode
push aPanels
push app_path
call [ini.get_int]
cmp eax, 14
jae @f
mov [panel1_sortmode], al
@@:
push 0
push aRightSortMode
push aPanels
push app_path
call [ini.get_int]
cmp eax, 14
jae @f
mov [panel2_sortmode], al
@@:
push nullstr
push 512
push saved_file_name
401,7 → 419,6
pop esi ecx
jmp .unload
.unload_done:
;if 0 ; commented due to bug in libini
cmp [ini.set_int], aIniSetInt
jz .nosave
push [panel1_colmode]
414,8 → 431,19
push aPanels
push app_path
call [ini.set_int]
movzx eax, [panel1_sortmode]
push eax
push aLeftSortMode
push aPanels
push app_path
call [ini.set_int]
movzx eax, [panel2_sortmode]
push eax
push aRightSortMode
push aPanels
push app_path
call [ini.set_int]
.nosave:
;end if
if CHECK_FOR_LEAKS
mov ecx, [panel1_files]
call pgfree
8342,6 → 8370,8
aPanels db 'Panels',0
aLeftViewMode db 'LeftViewMode',0
aRightViewMode db 'RightViewMode',0
aLeftSortMode db 'LeftSortMode',0
aRightSortMode db 'RightSortMode',0
 
aEditor db 'Editor',0
aEolStyle db 'EOLStyle',0