issue #675: initialize acceleration_

This commit is contained in:
minggo 2011-08-30 10:34:29 +08:00
parent 92f741aa73
commit 414791a684
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ static AccelerometerDispatcher* s_pAccelerometerDispatcher;
+ (id) sharedAccelerometerDispather
{
if (s_pAccelerometerDispatcher == nil) {
s_pAccelerometerDispatcher = [self alloc];
s_pAccelerometerDispatcher = [[self alloc] init];
}
return s_pAccelerometerDispatcher;