diff --git a/training/tessopt.cpp b/training/tessopt.cpp index 30d58f82b0..9e7e020340 100644 --- a/training/tessopt.cpp +++ b/training/tessopt.cpp @@ -57,3 +57,9 @@ const char *arglist //string of arg chars else return EOF; } + +void tessopt_reset() +{ + tessoptind = 0; + tessoptarg = 0; +}