Skip to content

Commit

Permalink
Fix tessdata prefix from executable path 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 22, 2018
1 parent 4f56abb commit 701bac9
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 701bac9

Please sign in to comment.