Patch level : 12.0 996

Files correlati     : cg2.exe
Commento            :

- Corretta inizializzazione di trit nell'importazione di una transazione.
This commit is contained in:
Alessandro Bonazzi 2020-09-11 13:21:24 +02:00
parent ffc1863e21
commit 750721168f

View File

@ -2335,11 +2335,12 @@ void TPrimanota_application::ini2mask(TConfig& ini, TMask& msk, bool query)
static TString4 __trit;
if (__trit.blank())
__trit << cgrowtype_ritfis << cgrowtype_ritsoc << cgrowtype_revcharge;
__trit << (char) cgrowtype_ritfis << (char) cgrowtype_ritsoc << (char) cgrowtype_revcharge;
for (int i = 0; __frit[i]; i++)
{
TEdit_field& ritfld = msk.efield(__frit[i]);
if (!ritfld.empty() && ritfld.active())
add_cgs_ritenute(__trit[i]);
}