WIP
This commit is contained in:
parent
ff679358a9
commit
631a420278
3
main.c
3
main.c
@ -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
3
util.c
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user