Skip to content

Commit 701bac9

Browse files
committed
Fix tessdata prefix from executable path for Windows
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 4f56abb commit 701bac9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ccutil/mainblk.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ void CCUtil::main_setup(const char *argv0, const char *basename) {
7777

7878
datadir = drive;
7979
datadir += dir;
80+
datadir += "/tessdata";
8081
}
8182
#endif /* _WIN32 */
8283
#if defined(TESSDATA_PREFIX)

0 commit comments

Comments
 (0)