mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
apply patch from issue 320
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@401 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
9b000b1c4e
commit
43690e23c8
@ -239,6 +239,7 @@ int main(int argc, char **argv) {
|
||||
//fprintf (stderr, "%d pages\n", npages);
|
||||
}
|
||||
fclose(fp);
|
||||
fp = NULL;
|
||||
|
||||
Pix *pix;
|
||||
if (is_tiff) {
|
||||
@ -346,7 +347,7 @@ int main(int argc, char **argv) {
|
||||
#endif // HAVE_LIBLEPT
|
||||
|
||||
//no longer using fp
|
||||
fclose(fp);
|
||||
if (fp != NULL) fclose(fp);
|
||||
|
||||
bool output_hocr = tessedit_create_hocr;
|
||||
outfile = argv[2];
|
||||
|
Loading…
Reference in New Issue
Block a user