Modifica 95/2
Aggiunta una zero ai costruttori dei TRectype git-svn-id: svn://10.65.10.50/trunk@1667 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3b49393f6c
commit
f8f6d26de7
@ -2013,7 +2013,10 @@ TRectype::TRectype(int logicnum) : _cod(NULL)
|
||||
}
|
||||
_rec = new char [ _length ];
|
||||
*_tab = '\0';
|
||||
setempty(TRUE);
|
||||
if (_length)
|
||||
zero();
|
||||
else
|
||||
setempty(TRUE);
|
||||
}
|
||||
|
||||
TRectype::TRectype(const TBaseisamfile* i): _cod(NULL)
|
||||
@ -2032,8 +2035,11 @@ TRectype::TRectype(const TBaseisamfile* i): _cod(NULL)
|
||||
}
|
||||
*_tab = '\0';
|
||||
_rec = new char [ _length ];
|
||||
//_i = i->filehnd();
|
||||
setempty(TRUE);
|
||||
// _i = i->filehnd();
|
||||
if (_length)
|
||||
zero();
|
||||
else
|
||||
setempty(TRUE);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user