mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-24 17:59:38 +03:00
Some fix for r.3812
git-svn-id: svn://kolibrios.org@3815 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
008436f41e
commit
6d879d326e
@ -1461,6 +1461,12 @@ draw_window:
|
||||
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
|
||||
@ -1468,6 +1474,7 @@ draw_window:
|
||||
|
||||
mov edx,message_0 ; Open Dir
|
||||
@@:
|
||||
;--------------------------------------
|
||||
mov [open_button_coordinates],ebx
|
||||
mov ecx,[w_work_button_text]
|
||||
or ecx,0x90000000
|
||||
@ -1487,6 +1494,9 @@ draw_open_button_label:
|
||||
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 @@ draw_open_button_label:
|
||||
.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
|
||||
|
Loading…
Reference in New Issue
Block a user