diff --git a/cg/cg2100.cpp b/cg/cg2100.cpp index 9e820feb5..dfd0c41d5 100755 --- a/cg/cg2100.cpp +++ b/cg/cg2100.cpp @@ -498,11 +498,12 @@ void TPrimanota_application::init_insert_mode(TMask& m) { occas_mask().reset(); - TString dt(m.get(F_DATAREG)); + const TString16 dt(m.get(F_DATAREG)); set_pagamento(NULL,dt); set_scadenze(m); - _saldi.reset(); // Inizializza saldi } + + _saldi.reset(); // Inizializza saldi }