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