mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 09:57:15 +01:00
lazutils: less notes
git-svn-id: trunk@38398 -
This commit is contained in:
parent
1dc0e02f6f
commit
8e3f146300
@ -2995,6 +2995,7 @@ procedure LazGetLanguageIDs(var Lang, FallbackLang: String);
|
||||
StrRange.location := 0;
|
||||
StrRange.length := CFStringGetLength(Ref);
|
||||
|
||||
StrSize:=0;
|
||||
CFStringGetBytes(Ref, StrRange, kCFStringEncodingUTF8,
|
||||
Ord('?'), False, nil, 0, StrSize);
|
||||
SetLength(Lang, StrSize);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user