diff --git a/src/nsterm.m b/src/nsterm.m index 8497138039c..dc5ecc45640 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -511,7 +511,9 @@ ns_relocate (const char *epath) NSBundle *bundle = [NSBundle mainBundle]; NSString *root = [bundle bundlePath]; NSString *original = [NSString stringWithUTF8String:epath]; - NSString *fixedPath = [NSString pathWithComponents:@[root, original]]; + NSString *fixedPath = [NSString pathWithComponents: + [NSArray arrayWithObjects: + root, original, nil]]; NSFileManager *fileManager = [NSFileManager defaultManager]; if (![original isAbsolutePath]