mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* fcl-db: dbase: language string is only supported on Visual DBaseVII formats. Return empty for other formats.
git-svn-id: trunk@28030 -
This commit is contained in:
parent
e2c58f9f89
commit
7441885f5a
@ -1243,8 +1243,10 @@ end;
|
||||
|
||||
function TDbfFile.GetLanguageStr: string;
|
||||
begin
|
||||
if FDbfVersion >= xBaseVII then
|
||||
Result := PEndFixedHdrVII(PChar(Header) + SizeOf(rDbfHdr))^.LanguageDriverName;
|
||||
if FDbfVersion = xBaseVII then
|
||||
Result := PEndFixedHdrVII(PChar(Header) + SizeOf(rDbfHdr))^.LanguageDriverName
|
||||
else
|
||||
Result := ''; // Only supported in DbaseVII
|
||||
end;
|
||||
|
||||
function TDbfFile.IsNullFlagSet(const Src: Pointer; var AFieldDef: TDbfFieldDef; WhichField: TNullFieldFlag): boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user