* fixed formatting

git-svn-id: trunk@26149 -
This commit is contained in:
Jonas Maebe 2013-11-27 20:27:20 +00:00
parent cddc31a1a8
commit 679c6bd27e

View File

@ -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;