COrretto id in val

git-svn-id: svn://10.65.10.50/trunk@1469 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1995-06-12 16:04:15 +00:00
parent ac635052c6
commit 720e9a0326

View File

@ -1836,7 +1836,7 @@ void TRectype::put(const char* fieldname, long val)
void TRectype::put(const char* fieldname, const TTextfile& txt) void TRectype::put(const char* fieldname, const TTextfile& txt)
{ {
long val = get_long(fieldname); long val = get_long(fieldname);
bool isnew = id == 0; bool isnew = val == 0;
TLocalisamfile f(_logicnum); TLocalisamfile f(_logicnum);
TMemo_file memo(f.filename()); TMemo_file memo(f.filename());