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,6 +2013,9 @@ TRectype::TRectype(int logicnum) : _cod(NULL)
|
|||||||
}
|
}
|
||||||
_rec = new char [ _length ];
|
_rec = new char [ _length ];
|
||||||
*_tab = '\0';
|
*_tab = '\0';
|
||||||
|
if (_length)
|
||||||
|
zero();
|
||||||
|
else
|
||||||
setempty(TRUE);
|
setempty(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2032,7 +2035,10 @@ TRectype::TRectype(const TBaseisamfile* i): _cod(NULL)
|
|||||||
}
|
}
|
||||||
*_tab = '\0';
|
*_tab = '\0';
|
||||||
_rec = new char [ _length ];
|
_rec = new char [ _length ];
|
||||||
//_i = i->filehnd();
|
// _i = i->filehnd();
|
||||||
|
if (_length)
|
||||||
|
zero();
|
||||||
|
else
|
||||||
setempty(TRUE);
|
setempty(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user