when we use SeekOrigin.End we use a negative 'length', so this was never correct

This commit is contained in:
Michael Becker 2020-08-30 23:20:15 -04:00
parent 1b0cee5582
commit 177b4854f6
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -106,7 +106,7 @@ namespace UniversalEditor.Accessors
}
case SeekOrigin.End:
{
start = _data.LongLength - length;
start = _data.LongLength + length;
break;
}
}