Bookmarks: fix compare invalid xpointers (#8690)

This commit is contained in:
hius07 authored and GitHub committed 2022-01-19 15:18:03 +02:00
1 parent b21dc4dcc6
commit 1c2b01a51e
2 files changed
+9 -5

No files matched your search

+1
View File
@@ -643,6 +643,7 @@ end
function CreDocument:compareXPointers(xp1, xp2)
-- Returns 1 if XPointers are ordered (if xp2 is after xp1), -1 if not, 0 if same
-- Returns nil if any of XPointers are invalid
return self._document:compareXPointers(xp1, xp2)
end