Patch level : 12.0 996
Files correlati : cg2.exe Commento : - Corretta inizializzazione di trit nell'importazione di una transazione.
This commit is contained in:
parent
ffc1863e21
commit
750721168f
@ -2335,11 +2335,12 @@ void TPrimanota_application::ini2mask(TConfig& ini, TMask& msk, bool query)
|
|||||||
static TString4 __trit;
|
static TString4 __trit;
|
||||||
|
|
||||||
if (__trit.blank())
|
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++)
|
for (int i = 0; __frit[i]; i++)
|
||||||
{
|
{
|
||||||
TEdit_field& ritfld = msk.efield(__frit[i]);
|
TEdit_field& ritfld = msk.efield(__frit[i]);
|
||||||
|
|
||||||
if (!ritfld.empty() && ritfld.active())
|
if (!ritfld.empty() && ritfld.active())
|
||||||
add_cgs_ritenute(__trit[i]);
|
add_cgs_ritenute(__trit[i]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user