diff --git a/cg/cg5400.cpp b/cg/cg5400.cpp index 2eef5b10b..ce276e5d6 100755 --- a/cg/cg5400.cpp +++ b/cg/cg5400.cpp @@ -39,7 +39,7 @@ bool TRipristina_stampa::firm_handler(TMask_field& f, KEY key) if (firm <= 0) return f.error_box("Codice ditta errato"); else - if (!prefix().exist(firm)) + if (!prefhndl->exist(firm)) return f.error_box("Gli archivi della ditta %ld non sono stati ancora generati", firm); else { @@ -251,7 +251,7 @@ bool TRipristina_stampa::menu(MENU_TAG) int day = giornale ? msk.get_int(F_DAY) : 1; if (day < 1) day = 1; - if (prefix().exist(firm)) + if (prefhndl->exist(firm)) { TString256 mess("Attenzione ripristino della stampa de"); if (_op == restore_reg) diff --git a/cg/cg5500.cpp b/cg/cg5500.cpp index 0fe54bb01..b3435b1f4 100755 --- a/cg/cg5500.cpp +++ b/cg/cg5500.cpp @@ -153,7 +153,7 @@ void Visliq_app::build_nomiditte() { // check no archivi fr = "??"; - bool good = prefix().exist(dt.get_long("CODDITTA")); + bool good = prefhndl->exist(dt.get_long("CODDITTA")); if (good) { diff --git a/cg/cg5600.cpp b/cg/cg5600.cpp index 79c38e4b9..875ccbbbd 100755 --- a/cg/cg5600.cpp +++ b/cg/cg5600.cpp @@ -92,7 +92,7 @@ void TRipristino_liq::build_nomiditte() { // check no archivi fr = "??"; - bool good = prefix().exist(dt.get_long("CODDITTA")); + bool good = prefhndl->exist(dt.get_long("CODDITTA")); if (good) {