Corretta stampa tracciati

git-svn-id: svn://10.65.10.50/trunk@2531 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1996-01-29 13:58:08 +00:00
parent 05ba60c2fb
commit 363c2b2615

View File

@ -91,6 +91,7 @@ HIDDEN void build_filelist(const char *path, TArray & list)
{ {
TString80 dname(f.name); TString80 dname(f.name);
if (!isdigit(dname[1]))
list.add(dname.mid(1,3)); list.add(dname.mid(1,3));
one_to_add = _dos_findnext(&f) == 0; one_to_add = _dos_findnext(&f) == 0;
} }
@ -211,11 +212,15 @@ void TManutenzione_app::print()
pi->setstatus(2); pi->setstatus(2);
for (int i = 2 ; !pi->iscancelled() && i <= items; i++) for (int i = 2 ; !pi->iscancelled() && i <= items; i++)
{
d.get(i);
if (d.len() > 0)
{ {
TRec_sheet r(i, ""); TRec_sheet r(i, "");
pi->addstatus(1); pi->addstatus(1);
do_print(p, r); do_print(p, r);
} }
}
delete pi; delete pi;
TArray list; TArray list;
@ -569,7 +574,8 @@ void TManutenzione_app::update_dir()
if (err == NOERR) if (err == NOERR)
{ {
TLocalisamfile f(i); TLocalisamfile f(i);
} else }
else
{ {
if (!yesno_box("Il file %d non puo' essere aperto: errore %d. Continuo?",i,err)) if (!yesno_box("Il file %d non puo' essere aperto: errore %d. Continuo?",i,err))
stop_run(); stop_run();
@ -759,6 +765,7 @@ void TManutenzione_app::convert_dir()
stop_run(); stop_run();
else continue; else continue;
} }
TSystemisamfile f(i); TSystemisamfile f(i);
f.update(r); f.update(r);