Spotted by friends.
This commit is contained in:
Mengjuei Hsieh 2011-09-29 22:39:21 -07:00
parent 8cfb0efb56
commit f54ed3ad9c
3 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@
#import "AppDelegate.h" #import "AppDelegate.h"
#import "UpdateNotificationController.h" #import "UpdateNotificationController.h"
void LTLoadLanugageModel(); void LTLoadLanguageModel();
static NSString *kNextUpdateCheckDateKey = @"NextUpdateCheckDate"; static NSString *kNextUpdateCheckDateKey = @"NextUpdateCheckDate";
static NSString *kUpdateInfoEndpointKey = @"UpdateInfoEndpoint"; static NSString *kUpdateInfoEndpointKey = @"UpdateInfoEndpoint";
@ -55,7 +55,7 @@ static const NSTimeInterval kNextCheckInterval = 86400.0;
- (void)applicationDidFinishLaunching:(NSNotification *)inNotification - (void)applicationDidFinishLaunching:(NSNotification *)inNotification
{ {
LTLoadLanugageModel(); LTLoadLanguageModel();
[self checkForUpdate]; [self checkForUpdate];
} }

View File

@ -61,4 +61,4 @@
@end @end
// the shared language model object // the shared language model object
extern "C" void LTLoadLanugageModel(); extern "C" void LTLoadLanguageModel();

View File

@ -860,7 +860,7 @@ public:
@end @end
void LTLoadLanugageModel() void LTLoadLanguageModel()
{ {
// load the language model; the performance of this function can be greatly improved // load the language model; the performance of this function can be greatly improved
// with better loading/parsing methods // with better loading/parsing methods