Skip to content

Commit 613c2bf

Browse files
authored
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.
1 parent 3e7144e commit 613c2bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ccstruct/imagedata.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -550,11 +550,11 @@ bool DocumentData::ReCachePages() {
550550
}
551551
}
552552
if (page < loaded_pages) {
553-
tprintf("Deserialize failed: %s read %d/%d pages\n",
553+
tprintf("Deserialize failed: %s read %d/%d lines\n",
554554
document_name_.string(), page, loaded_pages);
555555
pages_.truncate(0);
556556
} else {
557-
tprintf("Loaded %d/%d pages (%d-%d) of document %s\n", pages_.size(),
557+
tprintf("Loaded %d/%d lines (%d-%d) of document %s\n", pages_.size(),
558558
loaded_pages, pages_offset_ + 1, pages_offset_ + pages_.size(),
559559
document_name_.string());
560560
}

0 commit comments

Comments
 (0)