Fix code_style.sh to include *.mm files after switch to Obj-C++ (#2846)

This commit is contained in:
Mike Gelfand
2022-03-31 00:52:23 +03:00
committed by GitHub
parent e4461c48d7
commit d943f069f5
32 changed files with 243 additions and 241 deletions

View File

@@ -237,8 +237,9 @@
self.fNatStatus = -1;
[self updatePortStatus];
self.fPortStatusTimer = [NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(updatePortStatus) userInfo:nil
repeats:YES];
self.fPortStatusTimer = [NSTimer scheduledTimerWithTimeInterval:5.0 target:self selector:@selector(updatePortStatus)
userInfo:nil
repeats:YES];
//set peer connections
self.fPeersGlobalField.intValue = [self.fDefaults integerForKey:@"PeersTotal"];
@@ -789,7 +790,7 @@
- (void)setSpeedLimit:(id)sender
{
[self.fDefaults setInteger:[sender intValue]
forKey:sender == self.fSpeedLimitUploadField ? @"SpeedLimitUploadLimit" : @"SpeedLimitDownloadLimit"];
forKey:sender == self.fSpeedLimitUploadField ? @"SpeedLimitUploadLimit" : @"SpeedLimitDownloadLimit"];
[self applyAltSpeedSettings];
}