mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 02:40:24 +02:00
Package manager: avoid corruption of translated header comments (which are obviously in UTF-8) in autogenerated package files.
git-svn-id: trunk@24564 -
This commit is contained in:
parent
65e13b3061
commit
4b25569b03
@ -3496,12 +3496,12 @@ begin
|
||||
+lisPkgMangThisFileWasAutomaticallyCreatedByLazarusDoNotEdit+e
|
||||
+' '+lisPkgMangThisSourceIsOnlyUsedToCompileAndInstallThePackage+e
|
||||
+' }'+e+e;
|
||||
Src:=HeaderSrc
|
||||
+'unit '+ExtractFileNameOnly(SrcFilename)+';'+e
|
||||
Src:='unit '+ExtractFileNameOnly(SrcFilename)+';'+e
|
||||
+e
|
||||
+'interface'+e
|
||||
+e;
|
||||
Src:=BeautifyCodeOptions.BeautifyStatement(Src,0);
|
||||
Src:=HeaderSrc+Src;
|
||||
if UsedUnits<>'' then
|
||||
Src:=Src
|
||||
+BreakString('uses'+e+GetIndentStr(BeautifyCodeOptions.Indent)+UsedUnits+';',
|
||||
|
Loading…
Reference in New Issue
Block a user