Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 3814 → Rev 3815

/programs/fs/opendial/opendial.asm
1461,7 → 1461,13
shl edx,2
add edx,message_open_dialog_button
mov edx,[edx]
;--------------------------------------
cmp [open_dialog_type],1
jne @f
cmp [focus_pointer],1
je @f
mov eax,[file_browser_data_1.selected_BDVK_adress]
test [eax],byte 0x10
jz @f
1468,6 → 1474,7
 
mov edx,message_0 ; Open Dir
@@:
;--------------------------------------
mov [open_button_coordinates],ebx
mov ecx,[w_work_button_text]
or ecx,0x90000000
1487,6 → 1494,9
cmp [open_dialog_type],1
jne .exit_1
 
cmp [focus_pointer],1
je draw_save_button_label
pusha
mov ebx,[open_button_coordinates]
test ebx,ebx
1515,6 → 1525,19
.exit_1:
ret
;---------------------------------------------------------------------
draw_save_button_label:
pusha
mov ebx,[open_button_coordinates]
 
mov edx,message_1 ; Save
 
mov ecx,[w_work_button_text]
or ecx,0xd0000000
mov edi,[w_work_button]
mcall 4 ;message_open_button
popa
ret
;---------------------------------------------------------------------
copy_new_file_name:
mov esi,[file_browser_data_1.selected_BDVK_adress]
add esi,40