Commit 03267ba2 authored by ElenaSubbotina's avatar ElenaSubbotina

fix users file

parent b0adc188
...@@ -189,13 +189,15 @@ static const struct ActionNamesEmf ...@@ -189,13 +189,15 @@ static const struct ActionNamesEmf
do do
{ {
if (m_oStream.CanRead() < 8) if (m_oStream.IsEof())
break;
if (m_oStream.CanRead() < 8)
return SetError(); return SetError();
m_oStream >> ulType; m_oStream >> ulType;
m_oStream >> ulSize; m_oStream >> ulSize;
if (ulSize < 1) if (ulSize < 1)
continue; continue;
m_ulRecordPos = m_oStream.Tell(); m_ulRecordPos = m_oStream.Tell();
......
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