Skip to content

Commit

Permalink
Seearch /usr/share (rordenlab/MRIcroGL#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Mar 30, 2020
1 parent 1ef0a4b commit 37c2227
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/SimdUtils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function ResourceFile (name: pchar; ofType: pchar): string;
pths.Add('/opt/');
pths.Add('/usr/local/');
pths.Add('/usr/local/share/');
pths.Add('/usr/share');

This comment has been minimized.

Copy link
@TheChymera

TheChymera Mar 30, 2020

@neurolabusc thanks! this, however needs a trailing slash.

nms := TStringList.Create;
if (CompareText('MRIcroGL', paramstr(0)) <> 0) then
nms.Add(ExtractFileName(paramstr(0)));
Expand Down

0 comments on commit 37c2227

Please sign in to comment.