1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/x11-fm/doublecmd/files/patch-src__dmhelpmanager.pas
William Grzybowski 8da6dc218d x11-fm/doublecmd: update to 0.5.5
- Update to 0.5.5

Changes:
http://doublecmd.sourceforge.net/mediawiki/index.php/Changes_in_version_0.5.5

PR:		ports/180240
Submitted by:	Beñat Etxepare <bbtruk@users.sourceforge.net> (maintainer)
2013-07-04 23:01:34 +00:00

17 lines
650 B
ObjectPascal

--- ./src/dmhelpmanager.pas.orig 2013-06-30 19:27:17.154825000 +0200
+++ ./src/dmhelpmanager.pas 2013-06-30 19:28:32.591981000 +0200
@@ -69,11 +69,11 @@
else
begin
gHelpLang:= ExtractDelimited(2, gPOFileName, ['.']);
- if not mbDirectoryExists(gpExePath + 'doc' + PathDelim + gHelpLang) then
+ if not mbDirectoryExists(gpDocsDir + PathDelim + gHelpLang) then
gHelpLang:= 'en';
end;
- HTMLHelpDatabase.BaseURL:= 'file://' + gpExePath + 'doc' + PathDelim + gHelpLang;
+ HTMLHelpDatabase.BaseURL:= 'file://' + gpDocsDir + PathDelim + gHelpLang;
HTMLHelpDatabase.KeywordPrefix:= '/';
{$IFDEF MSWindows}