IDE: auto create fpdoc directory: use relative lazdoc path

git-svn-id: trunk@22153 -
This commit is contained in:
mattias 2009-10-13 21:04:56 +00:00
parent 329861f95c
commit 32306cd763

View File

@ -895,6 +895,8 @@ function TCodeHelpManager.DoCreateFPDocFileForSource(const SrcFilename: string;
function SelectNewLazDocPaths(const Title, BaseDir: string): string;
begin
Result:=LazSelectDirectory('Choose LazDoc directory for '+Title,BaseDir);
if (Result<>'') then
Result:=CreateRelativePath(Result,BaseDir);
end;
var