Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tesseract-ocr/tesseract
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e7043de7b02457ccc215f8cfb0156967838f72a3
Choose a base ref
..
head repository: tesseract-ocr/tesseract
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b5f2e4a4a093c651dd0bdc5c9894b6e57da90c43
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ccutil/ccutil.cpp
2 changes: 1 addition & 1 deletion src/ccutil/ccutil.cpp
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ void CCUtil::main_setup(const std::string &argv0, const std::string &basename) {
const char *tessdata_prefix = getenv("TESSDATA_PREFIX");

// Ignore TESSDATA_PREFIX if there is no matching filesystem entry.
if (tessdata_prefix != nullptr && ! std::filesystem::exists(tessdata_prefix)) {
if (tessdata_prefix != nullptr && !std::filesystem::exists(tessdata_prefix)) {
tprintf("Warning: TESSDATA_PREFIX %s does not exist, ignore it\n", tessdata_prefix);
tessdata_prefix = nullptr;
}