1

Fix incorrect text read call

This commit is contained in:
Alex Yatskov 2021-01-09 22:36:57 -08:00
parent 8924b11aa8
commit 4e432fa545

2
zig.go
View File

@ -272,7 +272,7 @@ func (c *Context) loadEntries(blocksSeen map[uint32]bool) ([]BookEntry, error) {
return nil, err return nil, err
} }
if entry.Text, err = c.loadContent(hit.text, blockTypeHeading); err != nil { if entry.Text, err = c.loadContent(hit.text, blockTypeText); err != nil {
return nil, err return nil, err
} }