mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 09:19:45 +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;
|
||||
begin
|
||||
case FDataType of
|
||||
ftGUID: Result:=1;
|
||||
ftString, ftFixedChar:
|
||||
case FCodePage of
|
||||
CP_UTF8: Result := 4;
|
||||
|
Loading…
Reference in New Issue
Block a user