fix the continue block parse error

This commit is contained in:
Liu Ming
2016-06-23 10:22:57 +08:00
parent 0b5fd56f62
commit 991920a697
3 changed files with 36 additions and 31 deletions

View File

@@ -92,7 +92,7 @@ func (w *WorkSheet) parseBof(buf io.ReadSeeker, b *bof, pre *bof) *bof {
binary.Read(buf, binary.LittleEndian, &c.BlankCol)
var count uint16
binary.Read(buf, binary.LittleEndian, &count)
c.Str = w.wb.get_string(buf, count)
c.Str, _ = w.wb.get_string(buf, count)
col = c
case 0x201: //BLANK
col = new(BlankCol)