Skip to content

Commit

Permalink
Merge pull request #2364 from Shreeshrii/pages
Browse files Browse the repository at this point in the history
Change pages to lines in message
  • Loading branch information
zdenop authored Apr 4, 2019
2 parents 3e7144e + 613c2bf commit 801bd66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ccstruct/imagedata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 801bd66

Please sign in to comment.