mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 05:59:28 +02:00
* fixed formatting
git-svn-id: trunk@26149 -
This commit is contained in:
parent
cddc31a1a8
commit
679c6bd27e
@ -728,9 +728,11 @@ begin
|
||||
begin
|
||||
// clean up, for example en_US.UTF-8 => UTF-8
|
||||
p:=Pos('.',lang);
|
||||
if p>0 then Delete(lang,1,p);
|
||||
if p>0 then
|
||||
Delete(lang,1,p);
|
||||
p:=Pos('@',lang);
|
||||
if p>0 then Delete(lang,p,length(lang)-p+1);
|
||||
if p>0 then
|
||||
Delete(lang,p,length(lang)-p+1);
|
||||
cp:=GetCodepageByName(lang);
|
||||
if cp <> CP_NONE then
|
||||
Result:=cp;
|
||||
|
Loading…
Reference in New Issue
Block a user