1
This commit is contained in:
Alex Yatskov 2016-11-02 19:06:58 -07:00
parent ff679358a9
commit 631a420278
2 changed files with 3 additions and 3 deletions

3
main.c
View File

@ -50,7 +50,6 @@ static void export_subbook_entries(EB_Book* eb_book, Subbook* subbook) {
} }
Entry* entry = subbook->entries + subbook->entry_count++; Entry* entry = subbook->entries + subbook->entry_count++;
printf("%d\n", subbook->entry_count);
entry->heading_page = hit->heading.page; entry->heading_page = hit->heading.page;
entry->heading_offset = hit->heading.offset; entry->heading_offset = hit->heading.offset;
@ -62,8 +61,6 @@ static void export_subbook_entries(EB_Book* eb_book, Subbook* subbook) {
} }
} }
while (hit_count > 0); while (hit_count > 0);
printf("done\n");
} }
static void export_subbook(EB_Book* eb_book, Subbook* subbook) { static void export_subbook(EB_Book* eb_book, Subbook* subbook) {

3
util.c
View File

@ -16,6 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <stdbool.h>
#include <stdio.h>
#include "util.h" #include "util.h"
#include "convert.h" #include "convert.h"