Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
821938089 committed Dec 8, 2024
1 parent 20ab778 commit 2737254
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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处前面有一段内容
Expand Down

0 comments on commit 2737254

Please sign in to comment.