Skip to content

Commit

Permalink
Attachment.data -> content
Browse files Browse the repository at this point in the history
  • Loading branch information
dhasenan committed Apr 27, 2017
1 parent 5965b57 commit e80d8a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/epub/books.d
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct Attachment {
string mimeType;

/// The file contents.
const(ubyte[]) data;
const(ubyte[]) content;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion source/epub/output.d
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void toEpub(Book book, ZipArchive zf) {
save(zf, chapter.filename, chapter.content);
}
foreach (attachment; book.attachments) {
save(zf, attachment.filename, attachment.data);
save(zf, attachment.filename, attachment.content);
}
}

Expand Down

0 comments on commit e80d8a1

Please sign in to comment.