Bookmarks: fix compare invalid xpointers (#8690)

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

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