fix issue Issue 684 : show correct line in failure message "Couldn't find a matching blob"

git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@723 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
zdenop@gmail.com 2012-04-22 20:51:00 +00:00
parent d39cb38ab8
commit e606c311f5

View File

@ -157,7 +157,7 @@ PAGE_RES* Tesseract::ApplyBoxes(const STRING& fname,
}
if (!foundit) {
box_failures++;
ReportFailedBox(box_count, boxes[i], texts[i].string(),
ReportFailedBox(i, boxes[i], texts[i].string(),
"FAILURE! Couldn't find a matching blob");
}
}