X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/c40f5440e35326e867b0fa87ec9963d41205380c..843b18fea32ec5481a9f64a4da67d11b00f4cf35:/ITLoginItem.m diff --git a/ITLoginItem.m b/ITLoginItem.m index fe49255..ec2e582 100755 --- a/ITLoginItem.m +++ b/ITLoginItem.m @@ -1,8 +1,8 @@ /* - * ITLoginItem.c + * ITLoginItem.m * ITFoundation * - * Created by Kent Sutherland on Sun May 16 2004. + * Created by Kent Sutherland on Mon May 17 2004. * Copyright (c) 2004 __MyCompanyName__. All rights reserved. * */ @@ -25,7 +25,7 @@ BOOL ITSetLaunchApplicationOnLogin(NSString *path, BOOL flag) loginarray = [loginwindow objectForKey:@"AutoLaunchedApplicationDictionary"]; //Create the alias data - FSMakeRefWithPath([path UTF8String], &fileRef); + FSPathMakeRef([path UTF8String], &fileRef, NULL); FSNewAlias(NULL, &fileRef, &alias); aliasData = [NSData dataWithBytes:&alias length:sizeof(alias)];