diff --git a/cg/cg2100.cpp b/cg/cg2100.cpp index 98ecf1729..5f3ff99a4 100755 --- a/cg/cg2100.cpp +++ b/cg/cg2100.cpp @@ -1551,8 +1551,9 @@ void TPrimanota_application::mask2ini(const TMask& msk, TConfig& ini) const char mov_cesp = causale().link_cespiti(); if (mov_cesp > ' ') - { - ini.set("MOVCESP", mov_cesp); + { + const char str_cesp[2] = { mov_cesp, '\0' }; + ini.set("MOVCESP", str_cesp); ini.set("DESCRCAUS", msk.get(F_DESCRCAUS)); const TEsercizio& annoes = _esercizi[msk.get_int(F_ANNOES)]; ini.set("INIZIOES", annoes.inizio());