From bf13cdda1899ba5013f492517cca2a048bea4cb8 Mon Sep 17 00:00:00 2001 From: villa Date: Wed, 28 Sep 1994 15:52:37 +0000 Subject: [PATCH] Aggiunta una zero del record nella settab git-svn-id: svn://10.65.10.50/trunk@297 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/isam.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/isam.cpp b/include/isam.cpp index f87f23ce4..31ae08ada 100755 --- a/include/isam.cpp +++ b/include/isam.cpp @@ -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