From 213b08a83ec577a34d4f509de55ed9ebcddf9f39 Mon Sep 17 00:00:00 2001 From: Alessandro Bonazzi Date: Tue, 18 Feb 2025 19:05:34 +0100 Subject: [PATCH] Patch level : 12.00 1382 Files correlati : cg4.exe Bug : Commento: Ripristinaata stampa liquidazione in fondo al registro --- src/include/printer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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++)