From 4416ddc0281c1b5946b1373f39d74d8280fc7bbe Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 24 Dec 2013 01:13:58 +0000 Subject: [PATCH] KFM 0.47i - if "/hd" read error for start then use "/rd" git-svn-id: svn://kolibrios.org@4400 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/fs/kfm/trunk/kfm.asm | 13 ++++++++++++- programs/fs/kfm/trunk/text.inc | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/programs/fs/kfm/trunk/kfm.asm b/programs/fs/kfm/trunk/kfm.asm index 778f17e305..877a96bd8d 100644 --- a/programs/fs/kfm/trunk/kfm.asm +++ b/programs/fs/kfm/trunk/kfm.asm @@ -25,7 +25,7 @@ ; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ;***************************************************************************** -; KFM v0.47h 11/12/2013 +; KFM v0.47i 24/12/2013 ;--------------------------------------------------------------------- use32 org 0x0 @@ -96,12 +96,23 @@ START: call proc_read_left_folder test eax,eax jz @f + cmp eax,6 jne read_folder_error @@: call proc_read_right_folder test eax,eax jz @f + + cmp eax,6 + je @f +; if /hd read error for start then use /rd + mov esi,retrieved_devices_table+1 + call copy_folder_name_1 + call proc_read_right_folder + test eax,eax + jz @f + cmp eax,6 jne read_folder_1_error @@: diff --git a/programs/fs/kfm/trunk/text.inc b/programs/fs/kfm/trunk/text.inc index 021b79b7e9..4095744ab2 100644 --- a/programs/fs/kfm/trunk/text.inc +++ b/programs/fs/kfm/trunk/text.inc @@ -1,4 +1,4 @@ -header_text db 'Kolibri File Manager v0.47h 11/12/2013',0 +header_text db 'Kolibri File Manager v0.47i 24/12/2013',0 ;--------------------------------------------------------------------- fbutton_name: .f1 db '1 Help',0