mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
Content server: Fix incorrect sorting of highlights in the same paragraph
This commit is contained in:
parent
c6f4002892
commit
528133d7db
@ -467,7 +467,7 @@ def create_cfi_cmp(key_map):
|
||||
diff = a.steps[i] - b.steps[i]
|
||||
if diff is not 0:
|
||||
return diff
|
||||
diff = a.length - b.length
|
||||
diff = a.steps.length - b.steps.length
|
||||
if diff is not 0:
|
||||
return diff
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user