mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 19:29:09 +02:00
* Fix charsize for ftGUID field (also string field), bug ID #0037350
git-svn-id: trunk@45791 -
This commit is contained in:
parent
9cae1830e2
commit
a5a7d2cc91
@ -177,6 +177,7 @@ end;
|
|||||||
function TFieldDef.GetCharSize: Word;
|
function TFieldDef.GetCharSize: Word;
|
||||||
begin
|
begin
|
||||||
case FDataType of
|
case FDataType of
|
||||||
|
ftGUID: Result:=1;
|
||||||
ftString, ftFixedChar:
|
ftString, ftFixedChar:
|
||||||
case FCodePage of
|
case FCodePage of
|
||||||
CP_UTF8: Result := 4;
|
CP_UTF8: Result := 4;
|
||||||
|
Loading…
Reference in New Issue
Block a user