mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 09:29:10 +02:00
fixed compilation with -dTranslateStrings from barko
git-svn-id: trunk@8343 -
This commit is contained in:
parent
efc69fbbd5
commit
bb99f5f64e
@ -2923,7 +2923,7 @@ begin
|
|||||||
//Ensure the project is saved
|
//Ensure the project is saved
|
||||||
if DoSaveAll([sfCheckAmbiguousFiles])<>mrOk then exit;
|
if DoSaveAll([sfCheckAmbiguousFiles])<>mrOk then exit;
|
||||||
//Ensure the project is compiled, so all rst files are present
|
//Ensure the project is compiled, so all rst files are present
|
||||||
if DoBuildProject(crBuild)<>mrOk then exit;
|
if DoBuildProject(crBuild,[pbfCleanCompile])<>mrOk then exit;
|
||||||
for i:=0 to Project1.FileCount-1 do
|
for i:=0 to Project1.FileCount-1 do
|
||||||
begin
|
begin
|
||||||
if FileExists(ChangeFileExt(Project1.Files[i].Filename,'.lrt'))
|
if FileExists(ChangeFileExt(Project1.Files[i].Filename,'.lrt'))
|
||||||
|
Loading…
Reference in New Issue
Block a user