mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e4a55aae56
commit
3269b8c361
@ -337,7 +337,10 @@ class KF8Writer(object):
|
||||
if aid is None:
|
||||
continue
|
||||
pos, fid = self.aid_offset_map[aid]
|
||||
if is_guide_ref_start(ref):
|
||||
if is_guide_ref_start(ref) and fid == 0:
|
||||
# If fid != 0 then we cannot represent the start position as a
|
||||
# single number in the EXTH header, so we do not write it to
|
||||
# EXTH
|
||||
self.start_offset = pos
|
||||
self.guide_table.append(GuideRef(ref.title or
|
||||
_('Unknown'), ref.type, (pos, fid)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user