ide: fix disabling manifest

git-svn-id: trunk@17945 -
This commit is contained in:
paul 2008-12-25 01:58:21 +00:00
parent 3b8c66ab2a
commit 1b58f6d1c0

View File

@ -102,9 +102,12 @@ var
begin
Result := True;
if not UseManifest then
Exit;
SetFileNames(MainFilename);
if UseManifest and (not FilenameIsAbsolute(FManifestFileName) or CreateManifestFile) then
if not FilenameIsAbsolute(FManifestFileName) or CreateManifestFile then
begin
ManifestName := ExtractFileName(FManifestFileName);
AResources.AddSystemResource(sManifest + ' "' + ManifestName + '"');