Properly advance the next sector for MSAT

This commit is contained in:
Michael Becker 2014-10-25 09:50:59 -04:00
parent 257d616882
commit a037dadaa2

View File

@ -163,7 +163,7 @@ namespace UniversalEditor.DataFormats.FileSystem.Microsoft.CompoundDocument
int[] masterSectorAllocationTablePart = reader.ReadInt32Array(countForMSAT);
Array.Copy(masterSectorAllocationTablePart, 0, masterSectorAllocationTable, nextPositionForMSAT, masterSectorAllocationTablePart.Length);
nextSectorForMSAT = masterSectorAllocationTablePart[masterSectorAllocationTablePart.Length - 1];
nextSectorForMSAT = masterSectorAllocationTablePart[nextSectorForMSAT];
}
#endregion
#region Read Sector Allocation Table