mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-05 00:13:39 +01:00
IDE: fixed PO output directory path delim, bug #16278
git-svn-id: trunk@24665 -
This commit is contained in:
parent
5dafb4b21e
commit
45b62fabb4
@ -6,7 +6,7 @@ interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
|
||||
StdCtrls, Project, IDEOptionsIntf, LazarusIDEStrConsts, IDEDialogs;
|
||||
StdCtrls, Project, IDEProcs, IDEOptionsIntf, LazarusIDEStrConsts, IDEDialogs;
|
||||
|
||||
type
|
||||
|
||||
@ -49,7 +49,8 @@ begin
|
||||
NewDirectory := LazSelectDirectory(lisPOChoosePoFileDirectory,
|
||||
FProject.ProjectDirectory);
|
||||
if NewDirectory = '' then Exit;
|
||||
FProject.ShortenFilename(NewDirectory);
|
||||
if not FProject.IsVirtual then
|
||||
NewDirectory:=CreateRelativePath(NewDirectory,FProject.ProjectDirectory);
|
||||
POOutDirEdit.Text := NewDirectory;
|
||||
end;
|
||||
|
||||
|
||||
@ -876,8 +876,8 @@ type
|
||||
function FileIsInProjectDir(const AFilename: string): boolean;
|
||||
procedure GetVirtualDefines(DefTree: TDefineTree; DirDef: TDirectoryDefines);
|
||||
function SearchFile(const Filename,SearchPaths,InitialDir:string):string;
|
||||
procedure ShortenFilename(var AFilename: string); override;
|
||||
procedure LongenFilename(var AFilename: string); override;
|
||||
procedure ShortenFilename(var AFilename: string); override; // for lpi file
|
||||
procedure LongenFilename(var AFilename: string); override; // for lpi file
|
||||
|
||||
// package dependencies
|
||||
function FindDependencyByName(const PackageName: string): TPkgDependency;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user