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

check seek for success

Change-Id: I02420ffb3af009d08ce54a0932e2c7a287703a72
üst d417ffb7
......@@ -419,7 +419,11 @@ void Section::Read( SotStorageStream *pStrm )
if ( nPropSize )
{
if ( ( nVectorCount - i ) > 1 )
pStrm->Seek( nPropOfs + nSecOfs + nPropSize );
{
nOffset = nPropOfs + nSecOfs + nPropSize;
if (nOffset != pStrm->Seek(nOffset))
break;
}
}
else
break;
......
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