ReplayMetadata style fix
This commit is contained in:
@@ -85,10 +85,10 @@ namespace OpenRA.FileFormats
|
|||||||
{
|
{
|
||||||
if (!fs.CanSeek)
|
if (!fs.CanSeek)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
if (fs.Length < 20)
|
if (fs.Length < 20)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
fs.Seek(-(4 + 4), SeekOrigin.End);
|
fs.Seek(-(4 + 4), SeekOrigin.End);
|
||||||
var dataLength = fs.ReadInt32();
|
var dataLength = fs.ReadInt32();
|
||||||
if (fs.ReadInt32() == MetaEndMarker)
|
if (fs.ReadInt32() == MetaEndMarker)
|
||||||
|
|||||||
Reference in New Issue
Block a user