aboutsummaryrefslogtreecommitdiffstats
path: root/comms/cqrlog/files/patch-src_fGrayline.pas
blob: ee741c2c7be7b10ed54cd3081eef08ca6ef0b927 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/fGrayline.pas.orig  2015-03-04 15:17:21 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('%%PREFIX%%'+PathDelim+'share'+PathDelim+'cqrlog'+
                  PathDelim+'images'+PathDelim+'grayline.bmp');
   ob:=new(Pgrayline,init(ImageFile))
 end;