diff --git a/programs/develop/h2d2b/trunk/h2d2b.asm b/programs/develop/h2d2b/trunk/h2d2b.asm index 9f951ea133..2d6437dc98 100644 --- a/programs/develop/h2d2b/trunk/h2d2b.asm +++ b/programs/develop/h2d2b/trunk/h2d2b.asm @@ -282,7 +282,7 @@ else end if mouse_dd dd 0 -edit1 edit_box (WIN_W-67-82), 67, 146, 0xffffff, 0xff, 0x80ff, 0, 0x90000000, (string1_end-string1), string1 , mouse_dd, ed_focus+ed_always_focus+ed_figure_only +edit1 edit_box (WIN_W-67-82), 67, 146, 0xffffff, 0xff, 0x80ff, 0, 0x90000000, (string1_end-string1), string1 , mouse_dd, ed_focus+ed_always_focus editboxes_end: diff --git a/programs/system/searchap/searchap.asm b/programs/system/searchap/searchap.asm index af98570a27..3eca7d51bc 100644 --- a/programs/system/searchap/searchap.asm +++ b/programs/system/searchap/searchap.asm @@ -37,7 +37,8 @@ params dd PARAMS dd 0x0 ;--------------------------------------------------------------------- -delay dd 0;500 +delay dd 500 +mount_attempt dd 0 ;--------------------------------------------------------------------- fileinfo: .subfunction dd 5 @@ -106,7 +107,7 @@ START: mov [delay], ecx .params_done: ;-------------------------------------- - mcall 5,[delay] + ;mcall 5,[delay] ;first mount attempt without delay mov ebx,start_dir mov ax,[ebx] mov ebx,read_folder_name @@ -131,6 +132,14 @@ exit: ;-------------------------------------- DEBUGF 1, "Searchap: just exit\n" ;-------------------------------------- + cmp [mount_dir],1 + je @f + cmp [mount_attempt], 1 + je @f + mov [mount_attempt], 1 ;second mount attempt with delay + mcall 5,[delay] + jmp START.params_done +terminate: mcall -1 ;--------------------------------------------------------------------- device_detect_f70: