mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-21 08:43:03 +08:00
Update src/api/tesseractmain.cpp
Co-authored-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
c8be22f313
commit
f190c85682
@ -301,7 +301,7 @@ static void SetVariablesFromCLArgs(tesseract::TessBaseAPI* api, int argc,
|
||||
static void PrintLangsList(tesseract::TessBaseAPI* api) {
|
||||
std::vector<std::string> languages;
|
||||
api->GetAvailableLanguagesAsVector(&languages);
|
||||
printf("List of available languages (%d):\n", languages.size());
|
||||
printf("List of available languages (%zu):\n", languages.size());
|
||||
for (const auto& language : languages) {
|
||||
printf("%s\n", language.c_str());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user