You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
574 B
16 lines
574 B
6 years ago
|
diff -u -r ../tesseract-4.0.0/src/api/baseapi.cpp ./src/api/baseapi.cpp
|
||
|
--- ../tesseract-4.0.0/src/api/baseapi.cpp 2018-10-29 08:53:12.000000000 +0000
|
||
|
+++ ./src/api/baseapi.cpp 2019-02-03 22:55:00.470748529 +0000
|
||
|
@@ -206,11 +206,8 @@
|
||
|
image_height_(0) {
|
||
|
const char *locale;
|
||
|
locale = std::setlocale(LC_ALL, nullptr);
|
||
|
- ASSERT_HOST(!strcmp(locale, "C"));
|
||
|
locale = std::setlocale(LC_CTYPE, nullptr);
|
||
|
- ASSERT_HOST(!strcmp(locale, "C"));
|
||
|
locale = std::setlocale(LC_NUMERIC, nullptr);
|
||
|
- ASSERT_HOST(!strcmp(locale, "C"));
|
||
|
}
|
||
|
|
||
|
TessBaseAPI::~TessBaseAPI() {
|