@@ -67,7 +67,7 @@ void PFMoveToApplicationsFolderIfNecessary(void) {
6767 BOOL isNestedApplication = IsApplicationAtPathNested (bundlePath);
6868
6969 // Skip if the application is already in some Applications folder,
70- // unless it's inside another app's bundle.
70+ // unless it's inside another app's bundle.
7171 if (IsInApplicationsFolder (bundlePath) && !isNestedApplication) return ;
7272
7373 // File Manager
@@ -266,8 +266,8 @@ static BOOL IsInDownloadsFolder(NSString *path) {
266266}
267267
268268static BOOL IsApplicationAtPathRunning (NSString *bundlePath) {
269- bundlePath = [bundlePath stringByStandardizingPath ];
270-
269+ bundlePath = [bundlePath stringByStandardizingPath ];
270+
271271#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5
272272 // Use the new API on 10.6 or higher to determine if the app is already running
273273 if (floor (NSAppKitVersionNumber ) > NSAppKitVersionNumber10_5 ) {
@@ -320,7 +320,7 @@ static BOOL IsApplicationAtPathNested(NSString *path) {
320320 [hdiutil waitUntilExit ];
321321
322322 NSData *data = [[[hdiutil standardOutput ] fileHandleForReading ] readDataToEndOfFile ];
323- NSDictionary *info = nil ;
323+ NSDictionary *info = nil ;
324324#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5
325325 if (floor (NSAppKitVersionNumber ) > NSAppKitVersionNumber10_5 ) {
326326 info = [NSPropertyListSerialization propertyListWithData: data options: NSPropertyListImmutable format: NULL error: NULL ];
@@ -336,7 +336,7 @@ static BOOL IsApplicationAtPathNested(NSString *path) {
336336
337337 if (![info isKindOfClass: [NSDictionary class ]]) return nil ;
338338
339- NSArray *images = (NSArray *)[info objectForKey: @" images" ];
339+ NSArray *images = (NSArray *)[info objectForKey: @" images" ];
340340 if (![images isKindOfClass: [NSArray class ]]) return nil ;
341341
342342 for (NSDictionary *image in images) {
@@ -471,7 +471,7 @@ static BOOL CopyBundle(NSString *srcPath, NSString *dstPath) {
471471}
472472
473473static NSString *ShellQuotedString (NSString *string) {
474- return [NSString stringWithFormat: @" '%@ '" , [string stringByReplacingOccurrencesOfString: @" '" withString: @" '\\ ''" ]];
474+ return [NSString stringWithFormat: @" '%@ '" , [string stringByReplacingOccurrencesOfString: @" '" withString: @" '\\ ''" ]];
475475}
476476
477477static void Relaunch (NSString *destinationPath) {
@@ -482,7 +482,7 @@ static void Relaunch(NSString *destinationPath) {
482482 // Command run just before running open /final/path
483483 NSString *preOpenCmd = @" " ;
484484
485- NSString *quotedDestinationPath = ShellQuotedString (destinationPath);
485+ NSString *quotedDestinationPath = ShellQuotedString (destinationPath);
486486
487487 // OS X >=10.5:
488488 // Before we launch the new app, clear xattr:com.apple.quarantine to avoid
0 commit comments