mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 15:46:49 +03:00
hotfix r6333: copy full path
git-svn-id: svn://kolibrios.org@6337 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
4b9e73fcb4
commit
8bb7273e0f
@ -867,7 +867,29 @@ common_app_entry:
|
||||
add esi, ecx
|
||||
jmp .check_cmdline
|
||||
|
||||
.copy_full_path:
|
||||
mov esi, [current_slot]
|
||||
mov esi, [esi+APPDATA.cur_dir]
|
||||
mov al, '/'
|
||||
stosb
|
||||
@@:
|
||||
lodsb
|
||||
stosb
|
||||
test al, al
|
||||
jnz @B
|
||||
mov byte [edi-1], '/'
|
||||
|
||||
lea esi, [ebp+sizeof.APP_HDR]
|
||||
xor eax, eax
|
||||
rep movsb
|
||||
stosb
|
||||
jmp .check_cmdline
|
||||
|
||||
.copy_filename:
|
||||
|
||||
cmp byte [esi], '/'
|
||||
jne .copy_full_path
|
||||
|
||||
rep movsb
|
||||
stosb
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user