mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-26 00:26:52 +03:00
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
This commit is contained in:
parent
6b2dd7b641
commit
f44c78c5fc
@ -1904,7 +1904,7 @@ load_directory:
|
|||||||
jz @f
|
jz @f
|
||||||
|
|
||||||
call delete_point_dir
|
call delete_point_dir
|
||||||
call files_name_normalize
|
; call files_name_normalize
|
||||||
call check_filter
|
call check_filter
|
||||||
call prepare_extension_and_mark
|
call prepare_extension_and_mark
|
||||||
call clear_data_fb_and_sb
|
call clear_data_fb_and_sb
|
||||||
@ -2142,29 +2142,29 @@ delete_point_dir:
|
|||||||
@@:
|
@@:
|
||||||
ret
|
ret
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
files_name_normalize:
|
;files_name_normalize:
|
||||||
mov esi,[dirinfo.return]
|
; mov esi,[dirinfo.return]
|
||||||
mov ebp,[esi+4]
|
; mov ebp,[esi+4]
|
||||||
add esi,32+40
|
; add esi,32+40
|
||||||
.start:
|
;.start:
|
||||||
push esi
|
; push esi
|
||||||
mov al,[esi]
|
; mov al,[esi]
|
||||||
call char_toupper
|
; call char_toupper
|
||||||
mov [esi],al
|
; mov [esi],al
|
||||||
@@:
|
;@@:
|
||||||
inc esi
|
; inc esi
|
||||||
mov al,[esi]
|
; mov al,[esi]
|
||||||
test al,al
|
; test al,al
|
||||||
jz @f
|
; jz @f
|
||||||
call char_todown
|
; call char_todown
|
||||||
mov [esi],al
|
; mov [esi],al
|
||||||
jmp @b
|
; jmp @b
|
||||||
@@:
|
;@@:
|
||||||
pop esi
|
; pop esi
|
||||||
add esi,304
|
; add esi,304
|
||||||
dec ebp
|
; dec ebp
|
||||||
jnz .start
|
; jnz .start
|
||||||
ret
|
; ret
|
||||||
;---------------------------------------------------------------------
|
;---------------------------------------------------------------------
|
||||||
char_toupper:
|
char_toupper:
|
||||||
; convert character to uppercase,using cp866 encoding
|
; convert character to uppercase,using cp866 encoding
|
||||||
|
Loading…
Reference in New Issue
Block a user