Aggiunta una zero del record nella settab
git-svn-id: svn://10.65.10.50/trunk@297 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6d6524fea4
commit
bf13cdda18
@ -1221,7 +1221,7 @@ TRectype::TRectype(int logicnum)
|
||||
_rec = new char [ _length ];
|
||||
_i = openf[_logicnum - 1];
|
||||
*_tab = '\0';
|
||||
setempty(TRUE);
|
||||
setempty(TRUE);
|
||||
}
|
||||
|
||||
TRectype::TRectype(const TBaseisamfile* i)
|
||||
@ -1243,7 +1243,7 @@ TRectype::TRectype(const TBaseisamfile* i)
|
||||
*_tab = '\0';
|
||||
_rec = new char [ _length ];
|
||||
_i = i->filehnd();
|
||||
setempty(TRUE);
|
||||
setempty(TRUE);
|
||||
}
|
||||
|
||||
|
||||
@ -1280,7 +1280,8 @@ void TRectype::settab(const char *tab)
|
||||
}
|
||||
strcpy(_tab, tab);
|
||||
if (*_tab != '\0')
|
||||
_cod = new TRecfield(*this, "COD");
|
||||
_cod = new TRecfield(*this, "COD");
|
||||
zero();
|
||||
}
|
||||
|
||||
TObject* TRectype::dup() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user