line_t *x = malloc(sizeof(line_t));
x->text = (void*)0;
x->prev = x->next = (void*)0;
- x->bits = x->offset = 0;
+ x->bits = x->length = x->offset = 0;
return x;
}
document_t *new_document() {
document_t *x = malloc(sizeof(document_t));
- x->title = x->author = x->date = (void*)0;
+ x->header = (void*)0;
x->page = (void*)0;
return x;
}