(PngFormat.SkipBytes): IBinaryStream has CanSeek property.

This commit is contained in:
morkt 2016-12-23 00:55:35 +04:00
parent 1ac0931d62
commit bfca63e48b

View File

@ -104,7 +104,7 @@ namespace GameRes
void SkipBytes (IBinaryStream file, uint num)
{
if (file.AsStream.CanSeek)
if (file.CanSeek)
file.Seek (num, SeekOrigin.Current);
else
{