Commit c8e3b596 authored by ElenaSubbotina's avatar ElenaSubbotina

DocFormat - fix read w95

parent 9405b068
...@@ -1216,10 +1216,12 @@ namespace DocFileFormat ...@@ -1216,10 +1216,12 @@ namespace DocFileFormat
m_FibBase.fcMin = reader.ReadInt32(); //24 m_FibBase.fcMin = reader.ReadInt32(); //24
m_FibBase.fcMac = reader.ReadInt32(); //28 m_FibBase.fcMac = reader.ReadInt32(); //28
csw = reader.ReadUInt16(); //32 if (m_FibBase.nFib > Fib1995)
csw = reader.ReadUInt16(); //32
if (m_FibBase.nFib >= Fib1997 || m_FibBase.nFib == 0) if (m_FibBase.nFib >= Fib1997 || m_FibBase.nFib == 0)
{ {
//read the RgW97 //read the RgW97
reader.ReadBytes( 26, false ); //34 reader.ReadBytes( 26, false ); //34
m_RgW97.lidFE = reader.ReadUInt16(); //60 m_RgW97.lidFE = reader.ReadUInt16(); //60
......
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