diff --git a/src/include/printer.cpp b/src/include/printer.cpp index 18f5e06a7..fd7bbd83e 100755 --- a/src/include/printer.cpp +++ b/src/include/printer.cpp @@ -1994,8 +1994,8 @@ bool TPrinter::acrobatically_print_pdf(const TFilename& pdf) const bool TPrinter::auto_export(const TFilename& n) { TString ext = n.ext(); - if (ext.blank()) - return false; +// if (ext.blank()) +// return false; ext.lower(); if (ext == "pdf") @@ -2007,7 +2007,7 @@ bool TPrinter::auto_export(const TFilename& n) if (ext.starts_with("xls")) return _txt.write_xls(n); - if (ext == "txt") + if (ext == "txt" || ext.blank()) { ofstream txt(n); for (long i = 0; i < _txt.lines(); i++)