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