the idehelp should now accept paths both with and without trailling pathdelim

git-svn-id: trunk@26753 -
This commit is contained in:
sekelsenmat 2010-07-20 13:21:12 +00:00
parent a6fb6c5e13
commit ee09832ebe

View File

@ -384,7 +384,7 @@ begin
Viewer:=TChmHelpViewer(Source);
HelpEXE:=Viewer.HelpEXE;
HelpLabel:=Viewer.HelpLabel;
HelpFilesPath:=Viewer.HelpFilesPath;
HelpFilesPath:=IncludeTrailingPathDelimiter(Viewer.HelpFilesPath);
end;
inherited Assign(Source);
end;
@ -393,7 +393,7 @@ procedure TChmHelpViewer.Load(Storage: TConfigStorage);
begin
HelpEXE:=Storage.GetValue('CHMHelp/Exe','');
HelpLabel:=Storage.GetValue('CHMHelp/Name','lazhelp');
HelpFilesPath := Storage.GetValue('CHMHelp/FilesPath','');
HelpFilesPath := IncludeTrailingPathDelimiter(Storage.GetValue('CHMHelp/FilesPath',''));
end;
procedure TChmHelpViewer.Save(Storage: TConfigStorage);