mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
re-fixed the issue
This commit is contained in:
parent
63734c608c
commit
b68136c428
@ -234,7 +234,7 @@ int main(int argc, char **argv)
|
||||
|
||||
if(param.output_filename == "")
|
||||
{
|
||||
const string s = path(param.input_filename).string();
|
||||
const string s = path(param.input_filename).filename().string();
|
||||
if(boost::algorithm::ends_with(s, ".pdf"))
|
||||
{
|
||||
param.output_filename = s.substr(0, s.size() - 4) + ".html";
|
||||
|
Loading…
Reference in New Issue
Block a user