Skip to content

Commit

Permalink
Update EpubBuilder.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeroblast committed Nov 23, 2019
1 parent 9419e18 commit b859d92
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/EpubBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,8 @@ void CreateOPF()
item.SetAttribute("media-type", "application/xhtml+xml");
mani_root.AppendChild(item);
i++;
if (i >= xhtmls.Count)
break;
}
if (azw3.resc.spine.FirstChild.ChildNodes.Count > xhtmls.Count) Log.log("[Warn] Missing Parts. Ignore if this is a book sample.");
if (i> xhtmls.Count) Log.log("[Warn] Missing Parts. Ignore if this is a book sample.");
if (i < xhtmls.Count)
{
Log.log("[Warn]Not all xhtmls are refered in spine.");
Expand Down

0 comments on commit b859d92

Please sign in to comment.