ntfs: fix volume name

git-svn-id: svn://kolibrios.org@6869 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pathoswithin 2017-02-28 15:55:21 +00:00
parent a66ba0a1e0
commit 9490c62e74

View File

@ -1797,11 +1797,18 @@ ntfs_GetFileInfo:
jc ntfsFail jc ntfsFail
mov ecx, [ebp+NTFS.cur_read] mov ecx, [ebp+NTFS.cur_read]
mov [edi+ecx], ax mov [edi+ecx], ax
cmp [ebx+8], eax cmp byte [ebx+8], 2
jnz .end jz .end
mov esi, edi
shr ecx, 1 shr ecx, 1
jz .end jz .end
mov esi, edi
cmp byte [ebx+8], 3
jnz @f
shl ecx, 1
call UTF16to8_string
mov byte [edi], 0
jmp .end
@@: @@:
lodsw lodsw
call uni2ansi_char call uni2ansi_char