diff --git a/main.c b/main.c index 7bf6f2a..17b022c 100644 --- a/main.c +++ b/main.c @@ -50,13 +50,7 @@ static void export_subbook_entries(EB_Book* eb_book, Subbook* subbook) { } Entry* entry = subbook->entries + subbook->entry_count++; - - entry->heading_page = hit->heading.page; - entry->heading_offset = hit->heading.offset; entry->heading = read_book_data(eb_book, &hit->heading, READ_MODE_HEADING); - - entry->text_page = hit->text.page; - entry->text_offset = hit->text.offset; entry->text = read_book_data(eb_book, &hit->text, READ_MODE_TEXT); } } diff --git a/util.h b/util.h index 09490bc..3d706e6 100644 --- a/util.h +++ b/util.h @@ -36,12 +36,7 @@ typedef struct { typedef struct { char* heading; - int heading_page; - int heading_offset; - char* text; - int text_page; - int text_offset; } Entry; typedef struct {