This commit is contained in:
Horis 2024-12-08 20:52:39 +08:00
parent 20ab778ec0
commit 2737254fec

View File

@ -214,6 +214,7 @@ class TextFile(private var book: Book) {
curChapter.title = matcher.group()
curChapter.start = curOffset + chapterLength
toc.add(curChapter)
lastChapterWordCount = 0
} else if (seekPos == 0 && chapterStart != 0) {
/**
* 如果 seekPos == 0 && chapterStart != 0 表示当前block处前面有一段内容