diff --git a/sc/sc2100.cpp b/sc/sc2100.cpp index bca7f436f..c16a0f6f8 100755 --- a/sc/sc2100.cpp +++ b/sc/sc2100.cpp @@ -669,6 +669,9 @@ void TEC_form::print_total(int riga, const THash_object& o, short id) TForm_item& desc_field = find_field('F', odd_page, id); if (desc_field.shown()) { + const int old_width = desc_field.width(); + desc_field.set_width(80); // Allunga campo descrizione + TString s(80); s = desc_field.prompt(); change_magic_names(o, s); @@ -677,6 +680,8 @@ void TEC_form::print_total(int riga, const THash_object& o, short id) TPrint_section& body = section('B'); row.print_on(body); + desc_field.set_width(old_width); // Ripristina lunghezza originaria + printer().setfooterline(riga + desc_field.y() -1, body.row(0)); } }