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

re-fixed the issue

This commit is contained in:
Lu Wang 2012-08-16 15:54:50 +08:00
parent 63734c608c
commit b68136c428

View File

@ -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";