mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 22:43:45 +08:00
addition to r1100
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@1101 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
6051e40212
commit
44b0d0e28e
@ -2572,7 +2572,7 @@ TessResultRenderer* TessBaseAPI::NewRenderer() {
|
||||
}
|
||||
|
||||
/** Escape a char string - remove <>&"' with HTML codes. */
|
||||
const void HOcrEscape(const char* text, STRING& ret) {
|
||||
void HOcrEscape(const char* text, STRING& ret) {
|
||||
const char *ptr;
|
||||
for (ptr = text; *ptr; ptr++) {
|
||||
switch (*ptr) {
|
||||
|
@ -865,7 +865,7 @@ class TESS_API TessBaseAPI {
|
||||
}; // class TessBaseAPI.
|
||||
|
||||
/** Escape a char string - remove &<>"' with HTML codes. */
|
||||
const void HOcrEscape(const char* text, STRING& ret);
|
||||
void HOcrEscape(const char* text, STRING& ret);
|
||||
} // namespace tesseract.
|
||||
|
||||
#endif // TESSERACT_API_BASEAPI_H__
|
||||
|
Loading…
Reference in New Issue
Block a user