osx: Use PACKAGE_TARNAME for autoload path.
Instead of hard-coding.
This commit is contained in:
parent
3175bb59f3
commit
b9f3fca512
1 changed files with 3 additions and 1 deletions
|
|
@ -15,6 +15,8 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <AppKit/AppKit.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "IWADController.h"
|
||||
|
||||
typedef enum
|
||||
|
|
@ -367,7 +369,7 @@ static const char *NameForIWAD(IWAD iwad)
|
|||
|
||||
NSString *base = [array objectAtIndex:0];
|
||||
return [NSString pathWithComponents:
|
||||
[NSArray arrayWithObjects: base, @"chocolate-doom", @"autoload",
|
||||
[NSArray arrayWithObjects: base, @PACKAGE_TARNAME, @"autoload",
|
||||
IWADFilenames[selectedIWAD], nil]];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue