mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 06:53:36 +08:00
Change pages to lines in message
The pages variables refer to the lines in document. This change makes the messages clearer without changing the variable names.
This commit is contained in:
parent
3e7144e796
commit
613c2bf6e4
@ -550,11 +550,11 @@ bool DocumentData::ReCachePages() {
|
||||
}
|
||||
}
|
||||
if (page < loaded_pages) {
|
||||
tprintf("Deserialize failed: %s read %d/%d pages\n",
|
||||
tprintf("Deserialize failed: %s read %d/%d lines\n",
|
||||
document_name_.string(), page, loaded_pages);
|
||||
pages_.truncate(0);
|
||||
} else {
|
||||
tprintf("Loaded %d/%d pages (%d-%d) of document %s\n", pages_.size(),
|
||||
tprintf("Loaded %d/%d lines (%d-%d) of document %s\n", pages_.size(),
|
||||
loaded_pages, pages_offset_ + 1, pages_offset_ + pages_.size(),
|
||||
document_name_.string());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user