diff --git a/cg/cg2100.cpp b/cg/cg2100.cpp index 0e84ac867..6e59ce65d 100755 --- a/cg/cg2100.cpp +++ b/cg/cg2100.cpp @@ -1905,21 +1905,20 @@ void TPrimanota_application::dump_fatt(TConfig& ini, TPartita & game, int rigafa rec.fill_array(); const int lastrow = rec.last(); - dump_rec(ini, rec, r, pref); - for (int rp = rec.first(); rp <= lastrow; rp = rec.succ(rp)) - { - const TRectype & recpag = rec.row(rp); + dump_rec(ini, rec, r, pref); + for (int rp = rec.first(); rp <= lastrow; rp = rec.succ(rp)) + { + const TRectype & recpag = rec.row(rp); - dump_rec(ini, recpag, rp, pref); - } - } - for ( ; ; r++) - { - if (ini.set_paragraph(format("%d,%d", LF_SCADENZE, r+1))) - ini.remove_all(); - else - break; - } + dump_rec(ini, recpag, rp, pref); + } + } + for ( ; ; r++) + { + if (ini.set_paragraph(format("%d,%d", LF_SCADENZE, r+1))) + ini.remove_all(); + else + break; } }