Skip to content

Commit

Permalink
Get tessdata prefix from executable path (only for Windows)
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Apr 14, 2018
1 parent f759a4d commit ce641a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ccutil/mainblk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ void CCUtil::main_setup(const char *argv0, const char *basename) {

datadir = drive;
datadir += dir;
datadir += "/tessdata";
}
#endif /* _WIN32 */
#if defined(TESSDATA_PREFIX)
Expand Down

0 comments on commit ce641a0

Please sign in to comment.