From 9be8233604e40d2e8f3ceede81df18435e97e873 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sun, 3 Nov 2013 15:00:11 +0000 Subject: [PATCH] Box_Lib - Filebrowser check of data before: mark all, unmark all, invert mark. git-svn-id: svn://kolibrios.org@4155 a494cfbc-eb01-0410-851d-a64ba20cac60 --- .../develop/libraries/box_lib/trunk/filebrowser.mac | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/programs/develop/libraries/box_lib/trunk/filebrowser.mac b/programs/develop/libraries/box_lib/trunk/filebrowser.mac index 9a031a5a9c..dc46ad2bff 100644 --- a/programs/develop/libraries/box_lib/trunk/filebrowser.mac +++ b/programs/develop/libraries/box_lib/trunk/filebrowser.mac @@ -1344,6 +1344,10 @@ fb_key: ret ;------------------------------------------------------- .mark_all: + mov eax,fb_folder_block + test eax,eax + jz .exit_fb + mov fb_temp_counter,0 .mark_all_1: mov ebp,fb_folder_block @@ -1401,10 +1405,18 @@ fb_key: ret ;------------------------------------------------------- .unmark_all: + mov eax,fb_folder_block + test eax,eax + jz .exit_fb + mov fb_temp_counter,1 jmp .mark_all_1 ;------------------------------------------------------- .invert_mark: + mov eax,fb_folder_block + test eax,eax + jz .exit_fb + mov fb_temp_counter,2 jmp .mark_all_1 ;-------------------------------------------------------