File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
An Awesome Socks Proxy Manager.xcodeproj
An Awesome Socks Proxy Manager Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 207
207
653357E115B8B8BF0028A746 /* MainMenu.xib */,
208
208
659201A815A75C6B000AB407 /* Supporting Files */,
209
209
);
210
- name = "An Awesome Socks Proxy Manager";
211
210
path = "An Awesome Socks Proxy Manager";
212
211
sourceTree = "<group>";
213
212
};
459
458
GCC_WARN_UNINITIALIZED_AUTOS = YES;
460
459
GCC_WARN_UNUSED_FUNCTION = YES;
461
460
GCC_WARN_UNUSED_VARIABLE = YES;
462
- MACOSX_DEPLOYMENT_TARGET = 10.7 ;
461
+ MACOSX_DEPLOYMENT_TARGET = 10.6 ;
463
462
ONLY_ACTIVE_ARCH = YES;
464
463
SDKROOT = macosx;
465
464
};
488
487
GCC_WARN_UNINITIALIZED_AUTOS = YES;
489
488
GCC_WARN_UNUSED_FUNCTION = YES;
490
489
GCC_WARN_UNUSED_VARIABLE = YES;
491
- MACOSX_DEPLOYMENT_TARGET = 10.7 ;
490
+ MACOSX_DEPLOYMENT_TARGET = 10.6 ;
492
491
SDKROOT = macosx;
493
492
};
494
493
name = Release;
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ - (void) menuNeedsUpdate:(NSMenu *)menu;
193
193
}
194
194
*/
195
195
196
- managementMenuItem.tag = abs (managementMenuItem.tag ) + managementTag;
196
+ managementMenuItem.tag = labs (managementMenuItem.tag ) + managementTag;
197
197
198
198
if (4 == (managementMenuItem.tag % managementTag)) {
199
199
NSDictionary *proxyData = [self proxyDataFromIndex: aProxyMenuItem.tag];
@@ -536,7 +536,7 @@ - (BOOL)setProxyData:(NSDictionary *)proxyData forNetworkService:(SCNetworkServi
536
536
537
537
NSNumber *currentPort = [proxyDict valueForKey: (__bridge NSString *) kSCPropNetProxiesSOCKSPort ];
538
538
539
- if (![currentPort intValue ] == [localPort_ intValue ]) { // We are switching proxy, force enabled
539
+ if (!( [currentPort intValue ] == [localPort_ intValue ]) ) { // We are switching proxy, force enabled
540
540
541
541
enableFlag = [NSNumber numberWithInt: 1 ];
542
542
You can’t perform that action at this time.
0 commit comments