From dfd598dbfdf8941fa800176e325dc66a6befaaee Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Wed, 2 Mar 2011 17:37:33 +0000 Subject: [PATCH] Long filename support. --- .../Kernel/System/Cosmos.System/Filesystem/FAT/FileSystemFAT.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source2/Kernel/System/Cosmos.System/Filesystem/FAT/FileSystemFAT.cs b/source2/Kernel/System/Cosmos.System/Filesystem/FAT/FileSystemFAT.cs index 21027fc75..a707ea0f2 100644 --- a/source2/Kernel/System/Cosmos.System/Filesystem/FAT/FileSystemFAT.cs +++ b/source2/Kernel/System/Cosmos.System/Filesystem/FAT/FileSystemFAT.cs @@ -131,7 +131,7 @@ namespace Cosmos.System.Filesystem.FAT { // if entries are found out of order. // Also save buffer and only copy name if a end Ord marker is found. string xString1 = xData.GetAscii16String(i + 1, 5); - string xString2 = xData.GetAscii16String(i + 14, 5); + string xString2 = xData.GetAscii16String(i + 14, 6); string xString3 = xData.GetAscii16String(i + 28, 2); xLongName = xString1 + xString2 + xString3 + xLongName; //TODO: LDIR_Chksum