Skip to content

Commit

Permalink
combine_tessdata: Print "Version:" instead of "Version string:"
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Nov 14, 2021
1 parent d8d63fd commit 25cdca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/combine_tessdata.1.asc
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ lang.lstm-recoder::
lang.version::
(Optional) Version string for the traineddata file.
First appeared in version 4.0 of Tesseract.
Old version of traineddata files will report Version string:Pre-4.0.0.
Old version of traineddata files will report Version:Pre-4.0.0.
4.0 version of traineddata files may include the network spec
used for LSTM training as part of version string.
Expand Down
2 changes: 1 addition & 1 deletion src/ccutil/tessdatamanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void TessdataManager::Clear() {

// Prints a directory of contents.
void TessdataManager::Directory() const {
tprintf("Version string:%s\n", VersionString().c_str());
tprintf("Version:%s\n", VersionString().c_str());
auto offset = TESSDATA_NUM_ENTRIES * sizeof(int64_t);
for (unsigned i = 0; i < TESSDATA_NUM_ENTRIES; ++i) {
if (!entries_[i].empty()) {
Expand Down

0 comments on commit 25cdca6

Please sign in to comment.