From f44c78c5fc9f9cf43046dd6a0c712c4992142374 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Fri, 28 Jun 2013 22:47:08 +0000 Subject: [PATCH] OpenDialog - disabling the normalization of the names of files and directories, because some file systems are case sensitive. git-svn-id: svn://kolibrios.org@3730 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/fs/opendial/opendial.asm | 48 +++++++++++++++---------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/programs/fs/opendial/opendial.asm b/programs/fs/opendial/opendial.asm index 0298e2de0..c23bfd078 100644 --- a/programs/fs/opendial/opendial.asm +++ b/programs/fs/opendial/opendial.asm @@ -1904,7 +1904,7 @@ load_directory: jz @f call delete_point_dir - call files_name_normalize +; call files_name_normalize call check_filter call prepare_extension_and_mark call clear_data_fb_and_sb @@ -2142,29 +2142,29 @@ delete_point_dir: @@: ret ;--------------------------------------------------------------------- -files_name_normalize: - mov esi,[dirinfo.return] - mov ebp,[esi+4] - add esi,32+40 -.start: - push esi - mov al,[esi] - call char_toupper - mov [esi],al -@@: - inc esi - mov al,[esi] - test al,al - jz @f - call char_todown - mov [esi],al - jmp @b -@@: - pop esi - add esi,304 - dec ebp - jnz .start - ret +;files_name_normalize: +; mov esi,[dirinfo.return] +; mov ebp,[esi+4] +; add esi,32+40 +;.start: +; push esi +; mov al,[esi] +; call char_toupper +; mov [esi],al +;@@: +; inc esi +; mov al,[esi] +; test al,al +; jz @f +; call char_todown +; mov [esi],al +; jmp @b +;@@: +; pop esi +; add esi,304 +; dec ebp +; jnz .start +; ret ;--------------------------------------------------------------------- char_toupper: ; convert character to uppercase,using cp866 encoding