summaryrefslogtreecommitdiff
path: root/comms/cqrlog/files/patch-src_fGrayline.pas
blob: 05cdef23fce7b59e64bbf46fda51dad301f68a14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/fGrayline.pas.orig	2016-05-07 08:21:24 UTC
+++ src/fGrayline.pas
@@ -383,7 +383,7 @@ begin
     RBNSpotList[i].band := '';
   ImageFile := dmData.HomeDir+'images'+PathDelim+'grayline.bmp';
   if not FileExists(ImageFile) then
-    ImageFile := ExpandFileNameUTF8('..'+PathDelim+'share'+PathDelim+'cqrlog'+
+    ImageFile := ExpandFileNameUTF8('%%DATADIR%%'+
                  PathDelim+'images'+PathDelim+'grayline.bmp');
   ob:=new(Pgrayline,init(ImageFile))
 end;