1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

added an explicity FintProgDir to ffw_init

This commit is contained in:
Stephen Gaito 2019-12-10 07:35:52 +00:00
parent ae281bc87a
commit 6eba02cfc2

View File

@ -70,6 +70,7 @@ static void dumb_post_error(const char * title, const char * error, ...) { }
void ffw_init(int debug) void ffw_init(int debug)
{ {
ffwSetAction("initialize"); ffwSetAction("initialize");
FindProgDir(NULL);
InitSimpleStuff(); InitSimpleStuff();
if ( default_encoding==NULL ) if ( default_encoding==NULL )
default_encoding=FindOrMakeEncoding("ISO8859-1"); default_encoding=FindOrMakeEncoding("ISO8859-1");