Corretta formattazione

git-svn-id: svn://10.65.10.50/trunk@1405 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
nik 1995-05-29 10:28:33 +00:00
parent 2a1027fb60
commit 4ca8e85e3b
9 changed files with 612 additions and 612 deletions

View File

@ -65,19 +65,19 @@ void TAgg_opintra::look_mov()
const TString16 codcaus(mov.get(MOV_CODCAUS)); const TString16 codcaus(mov.get(MOV_CODCAUS));
if (codcaus.not_empty()) if (codcaus.not_empty())
{ {
caus.setkey(1); caus.setkey(1);
caus.put(CAU_CODCAUS, codcaus); caus.put(CAU_CODCAUS, codcaus);
if (caus.read() == NOERR) if (caus.read() == NOERR)
{ {
bool intra = caus.get_bool(CAU_INTRACOM); bool intra = caus.get_bool(CAU_INTRACOM);
bool ok = rel.is_first_match(LF_RMOVIVA); bool ok = rel.is_first_match(LF_RMOVIVA);
while (ok) while (ok)
{ {
rmoviva.put(RMI_INTRA, intra); rmoviva.put(RMI_INTRA, intra);
rmoviva.rewrite(); rmoviva.rewrite();
ok = rel.next_match(LF_RMOVIVA); ok = rel.next_match(LF_RMOVIVA);
} }
} }
} }
} }
} }

View File

@ -88,7 +88,7 @@ bool TAgg_tconto::preprocess_page(int file,int counter)
tc.read(pcon); tc.read(pcon);
if (!pcon.empty()) if (!pcon.empty())
if (pcon.get_char("TMCF") != '\0') if (pcon.get_char("TMCF") != '\0')
return FALSE; return FALSE;
tc.set(gruppo,conto,sottoconto); tc.set(gruppo,conto,sottoconto);
tc.read(pcon); tc.read(pcon);

View File

@ -93,9 +93,9 @@ int TAgg_nprot::rinumera_prot()
if (protiva != _prot && uprotiva != _prot) continue; if (protiva != _prot && uprotiva != _prot) continue;
else else
{ {
if (uprotiva != 0l) if (uprotiva != 0l)
_prot = uprotiva; _prot = uprotiva;
break; break;
} }
} }
@ -141,7 +141,7 @@ int TAgg_nprot::rinumera_prot()
{ {
delete p; delete p;
return error_box("Impossibile leggere il registro %s anno %s", return error_box("Impossibile leggere il registro %s anno %s",
(const char*)_reg, (const char*)_anno); (const char*)_reg, (const char*)_anno);
} }
delete p; delete p;
return message_box("Rinumerazione numero protocollo completata"); return message_box("Rinumerazione numero protocollo completata");