diff --git a/ve/velib02.cpp b/ve/velib02.cpp index 503c961f6..9a632fd53 100755 --- a/ve/velib02.cpp +++ b/ve/velib02.cpp @@ -1081,10 +1081,10 @@ void TRiga_documento::autosave(TSheet_field& f) if (val != NULL) { const short id = FR_LORDO + i; - const int pos =m.id2pos(id); + const int pos = m.id2pos(id); if (pos >= 0) { - const TMask_field& c = m.field(FR_LORDO+ifld(pos); + const TMask_field& c = m.fld(pos); const TFieldref* fld = c.field(); if (fld != NULL) fld->write(val, *this);