Kaydet (Commit) d608a304 authored tarafından Caolán McNamara's avatar Caolán McNamara

return early on not good

Change-Id: I4aca6cb1c3dae652595b93ff7507db713a668d5f
üst 35c602a5
......@@ -323,6 +323,8 @@ bool SgfBMapFilter(SvStream& rInp, SvStream& rOut)
nFileStart=rInp.Tell();
ReadSgfHeader( rInp, aHead );
if (!rIStream.good())
return false;
if (aHead.ChkMagic() && (aHead.Typ==SgfBitImag0 || aHead.Typ==SgfBitImag1 ||
aHead.Typ==SgfBitImag2 || aHead.Typ==SgfBitImgMo))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment