From ef4f2034b0fb7afd6529636709632a149e0e9297 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 7 Sep 2010 21:10:31 +0000 Subject: [PATCH] OpenDialog - small change of processing error for loading directory, after start program. git-svn-id: svn://kolibrios.org@1607 a494cfbc-eb01-0410-851d-a64ba20cac60 --- .../develop/libraries/box_lib/asm/trunk/OpenDial.asm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/programs/develop/libraries/box_lib/asm/trunk/OpenDial.asm b/programs/develop/libraries/box_lib/asm/trunk/OpenDial.asm index 58905e6c35..a01bc0ba62 100644 --- a/programs/develop/libraries/box_lib/asm/trunk/OpenDial.asm +++ b/programs/develop/libraries/box_lib/asm/trunk/OpenDial.asm @@ -987,10 +987,18 @@ load_start_directory: mov edi,dir_pach call copy_dir_name +; call load_directory +; mov eax,[N_error] +; test eax,eax +; jnz button.exit +.3: call load_directory mov eax,[N_error] test eax,eax - jnz button.exit + jz @f + call error_handler + jmp .3 +@@: ret ;--------------------------------------------------------------------- load_next_dir: