File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,8 @@ class DllExport COLDEF : public COLCRT { /* Column description block
193
193
friend class COLBLK ;
194
194
friend class DBFFAM ;
195
195
friend class TDBASE ;
196
- public:
196
+ friend class TDBDOS ;
197
+ public:
197
198
COLDEF (void ); // Constructor
198
199
199
200
// Implementation
Original file line number Diff line number Diff line change @@ -2018,7 +2018,8 @@ int TDBDOS::EstimatedLength(void)
2018
2018
// result if we set dep to 1
2019
2019
dep = 1 + cdp->GetLong () / 20 ; // Why 20 ?????
2020
2020
} else for (; cdp; cdp = cdp->GetNext ())
2021
- dep = MY_MAX (dep, cdp->GetOffset ());
2021
+ if (!(cdp->Flags & (U_VIRTUAL|U_SPECIAL)))
2022
+ dep = MY_MAX (dep, cdp->GetOffset ());
2022
2023
2023
2024
return (int )dep;
2024
2025
} // end of Estimated Length
You can’t perform that action at this time.
0 commit comments