From fafda50e967d7f0cd808643373801f1d3ee2757c Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Wed, 2 Nov 2016 20:07:41 -0700 Subject: [PATCH] Cleanup --- main.c | 6 ------ util.h | 5 ----- 2 files changed, 11 deletions(-) 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 {