Properly advance the next sector for MSAT

This commit is contained in:
Michael Becker 2014-10-25 09:53:37 -04:00
parent a037dadaa2
commit d4ea17f320

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[nextSectorForMSAT];
nextSectorForMSAT = masterSectorAllocationTablePart[masterSectorAllocationTablePart.Length - 1];
}
#endregion
#region Read Sector Allocation Table