pull/1794/head
kunfei 2 years ago
parent d01c0e98ab
commit 53702454a8
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/page/ReadView.kt

@ -322,9 +322,9 @@ class ReadView(context: Context, attrs: AttributeSet) :
if (ci == start) {
startPos.lineIndex = index
startPos.charIndex = j
} else if (ci == end) {
} else if (ci == end - 1) {
endPos.lineIndex = index
endPos.charIndex = j - 1
endPos.charIndex = j
return@run
}
ci++

Loading…
Cancel
Save