From 5ec4c74b0bafb2a56825545e4e47a6c8ea0dac3b Mon Sep 17 00:00:00 2001 From: Uli Kusterer Date: Mon, 14 Dec 2009 22:24:48 +0100 Subject: [PATCH] Fix typo in LONG_INSTALLATION_TIME constant. --- finish_installation.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/finish_installation.m b/finish_installation.m index e159c377..77070e68 100644 --- a/finish_installation.m +++ b/finish_installation.m @@ -7,7 +7,7 @@ #include -#define LONG_IMSTALLATION_TIME 1.2 // If the Installation takes longer than this time the Application Icon is shown in the Dock so that the user has some feedback. +#define LONG_INSTALLATION_TIME 1.2 // If the Installation takes longer than this time the Application Icon is shown in the Dock so that the user has some feedback. #define CHECK_FOR_PARENT_TO_QUIT_TIME .5 // Time this app uses to recheck if the parent has already died. @interface TerminationListener : NSObject @@ -77,7 +77,9 @@ -(void) parentHasQuit { [watchdogTimer invalidate]; - longInstallationTimer = [[NSTimer scheduledTimerWithTimeInterval:LONG_IMSTALLATION_TIME target:self selector:@selector(showAppIconInDock:) userInfo:nil repeats:NO] retain]; + longInstallationTimer = [[NSTimer scheduledTimerWithTimeInterval: LONG_INSTALLATION_TIME + target: self selector: @selector(showAppIconInDock:) + userInfo:nil repeats:NO] retain]; if( folderpath ) [self install];