diff options
Diffstat (limited to 'x11-fm/doublecmd/files/patch-src_uGlobsPaths.pas')
-rw-r--r-- | x11-fm/doublecmd/files/patch-src_uGlobsPaths.pas | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/x11-fm/doublecmd/files/patch-src_uGlobsPaths.pas b/x11-fm/doublecmd/files/patch-src_uGlobsPaths.pas index c7cc83f548b4..4d05ae5869f8 100644 --- a/x11-fm/doublecmd/files/patch-src_uGlobsPaths.pas +++ b/x11-fm/doublecmd/files/patch-src_uGlobsPaths.pas @@ -1,6 +1,6 @@ ---- src/uGlobsPaths.pas.orig 2024-02-29 18:56:08 UTC +--- src/uGlobsPaths.pas.orig 2024-07-22 23:07:50 UTC +++ src/uGlobsPaths.pas -@@ -3,7 +3,7 @@ var +@@ -3,7 +3,7 @@ unit uGlobsPaths; interface var @@ -9,11 +9,20 @@ gpCfgDir : String = ''; // directory from which configuration files are used gpGlobalCfgDir : String = ''; // config dir global for all user gpCmdLineCfgDir : String = ''; // config dir passed on the command line -@@ -11,6 +11,7 @@ var - gpPixmapPath : String = ''; // path to pixmaps +@@ -12,6 +12,7 @@ var gpHighPath : String = ''; // editor highlighter directory + gpCacheDir : String = ''; // cache directory gpThumbCacheDir : String = ''; // thumbnails cache directory + gpDocsDir : String = '%%DOCSDIR%%/'; // directory for help files //Global Configuration Filename const +@@ -87,7 +88,7 @@ procedure Initialize; + begin + gpExeFile := ParamStr(0); + gpExeFile := TryReadAllLinks(gpExeFile); +- gpExePath := ExtractFilePath(gpExeFile); ++ //gpExePath := ExtractFilePath(gpExeFile); + gpGlobalCfgDir := gpExePath + 'settings' + DirectorySeparator; + end; + |