show only error messages from Leptonica

This commit is contained in:
Zdenko Podobný 2017-05-05 20:17:38 +02:00
parent 5c2e557435
commit 159e34a81d

View File

@ -402,7 +402,7 @@ int main(int argc, char** argv) {
#if !defined(DEBUG)
// Disable debugging and informational messages from Leptonica.
setMsgSeverity(L_SEVERITY_WARNING);
setMsgSeverity(L_SEVERITY_ERROR);
#endif
#if defined(HAVE_TIFFIO_H) && defined(_WIN32)