From 1d862a54bd919f3e0aa77da5c2199a992869e979 Mon Sep 17 00:00:00 2001 From: Justin Hotchkiss Palermo Date: Sat, 1 Jul 2017 08:40:57 -0400 Subject: [PATCH] Add new line to a few error messages. --- api/baseapi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/baseapi.cpp b/api/baseapi.cpp index 54833d8fad..6cdf305f9b 100644 --- a/api/baseapi.cpp +++ b/api/baseapi.cpp @@ -888,7 +888,7 @@ int TessBaseAPI::RecognizeForChopTest(ETEXT_DESC* monitor) { if (tesseract_ == NULL) return -1; if (thresholder_ == NULL || thresholder_->IsEmpty()) { - tprintf("Please call SetImage before attempting recognition."); + tprintf("Please call SetImage before attempting recognition.\n"); return -1; } if (page_res_ != NULL) @@ -2173,7 +2173,7 @@ void TessBaseAPI::SetFillLatticeFunc(FillLatticeFunc f) { /** Common code for setting the image. */ bool TessBaseAPI::InternalSetImage() { if (tesseract_ == NULL) { - tprintf("Please call Init before attempting to set an image."); + tprintf("Please call Init before attempting to set an image.\n"); return false; } if (thresholder_ == NULL) @@ -2234,7 +2234,7 @@ bool TessBaseAPI::Threshold(Pix** pix) { /** Find lines from the image making the BLOCK_LIST. */ int TessBaseAPI::FindLines() { if (thresholder_ == NULL || thresholder_->IsEmpty()) { - tprintf("Please call SetImage before attempting recognition."); + tprintf("Please call SetImage before attempting recognition.\n"); return -1; } if (recognition_done_)