diff --git a/api/baseapi.cpp b/api/baseapi.cpp index 11aeb916..590c8b56 100644 --- a/api/baseapi.cpp +++ b/api/baseapi.cpp @@ -1457,7 +1457,7 @@ char* TessBaseAPI::GetHOCRText(int page_number) { * GetHOCRText * STL removed from original patch submission and refactored by rays. */ -char* TessBaseAPI::GetHOCRText(struct ETEXT_DESC* monitor, int page_number) { +char* TessBaseAPI::GetHOCRText(ETEXT_DESC* monitor, int page_number) { if (tesseract_ == NULL || (page_res_ == NULL && Recognize(monitor) < 0)) return NULL; diff --git a/api/baseapi.h b/api/baseapi.h index a572ec07..3b0d3f67 100644 --- a/api/baseapi.h +++ b/api/baseapi.h @@ -591,7 +591,7 @@ class TESS_API TessBaseAPI { * cancel the recognition * receive progress callbacks */ - char* GetHOCRText(struct ETEXT_DESC* monitor, int page_number); + char* GetHOCRText(ETEXT_DESC* monitor, int page_number); /** * Make a HTML-formatted string with hOCR markup from the internal