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

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