Commit 0eacebf1 authored by Olivier Bertrand's avatar Olivier Bertrand

Merge branch 'ob-10.0' into 10.0

parents 8ab46a51 5f533035
...@@ -193,7 +193,8 @@ class DllExport COLDEF : public COLCRT { /* Column description block ...@@ -193,7 +193,8 @@ class DllExport COLDEF : public COLCRT { /* Column description block
friend class COLBLK; friend class COLBLK;
friend class DBFFAM; friend class DBFFAM;
friend class TDBASE; friend class TDBASE;
public: friend class TDBDOS;
public:
COLDEF(void); // Constructor COLDEF(void); // Constructor
// Implementation // Implementation
......
...@@ -2018,6 +2018,7 @@ int TDBDOS::EstimatedLength(void) ...@@ -2018,6 +2018,7 @@ int TDBDOS::EstimatedLength(void)
// result if we set dep to 1 // result if we set dep to 1
dep = 1 + cdp->GetLong() / 20; // Why 20 ????? dep = 1 + cdp->GetLong() / 20; // Why 20 ?????
} else for (; cdp; cdp = cdp->GetNext()) } else for (; cdp; cdp = cdp->GetNext())
if (!(cdp->Flags & (U_VIRTUAL|U_SPECIAL)))
dep = MY_MAX(dep, cdp->GetOffset()); dep = MY_MAX(dep, cdp->GetOffset());
return (int)dep; return (int)dep;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment