mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 09:20:49 +02:00
the idehelp should now accept paths both with and without trailling pathdelim
git-svn-id: trunk@26753 -
This commit is contained in:
parent
a6fb6c5e13
commit
ee09832ebe
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user