Corretto asterisco di salvo buon fine

git-svn-id: svn://10.65.10.50/trunk@2367 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1995-12-29 11:58:43 +00:00
parent b9b7fb50c5
commit 2fc3b68c9d
3 changed files with 11 additions and 1 deletions

View File

@ -991,7 +991,7 @@ void TEC_form::init_header(const TMask& m)
}
TEC_form::TEC_form(const TEC_mask& m, bool gesval)
: TForm(BASE_EC_PROFILE, m.get_prof_code()),
: TForm(BASE_EC_PROFILE, m.get_prof_name()),
_in_valuta(FALSE), _num_rip(0), _total_rows(0),
_causali(LF_CAUSALI, CAU_CODCAUS, CAU_DESCR),
_movimenti(LF_MOV, MOV_NUMREG, MOV_DESCR),

View File

@ -47,3 +47,12 @@ const TString& TEC_mask::get_prof_lang() const
{
return get(F_LINPROF);
}
const char* TEC_mask::get_prof_name() const
{
TFixed_string tmp(__tmp_string, 16);
tmp = get_prof_code();
tmp << get_prof_lang();
return __tmp_string;
}

View File

@ -17,6 +17,7 @@ public:
const char* get_prof_base() const;
const TString& get_prof_code() const;
const TString& get_prof_lang() const;
const char* get_prof_name() const;
TEC_mask(const char* name);
virtual ~TEC_mask();