mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Use symbolic constants, that's what they're for ;-)
This commit is contained in:
1 parent
3d352c6fcd
commit
b4210d8f61
1 file changed
+3
-3
+3
-3
@@ -50,9 +50,9 @@
|
||||
cpuType = value;
|
||||
NSString *visibleCPUType;
|
||||
switch(value) {
|
||||
case 7: visibleCPUType=@"Intel"; break;
|
||||
case 18: visibleCPUType=@"PowerPC"; break;
|
||||
default: visibleCPUType=@"Unknown"; break;
|
||||
case CPU_TYPE_X86: visibleCPUType = @"Intel"; break;
|
||||
case CPU_TYPE_POWERPC: visibleCPUType = @"PowerPC"; break;
|
||||
default: visibleCPUType = @"Unknown"; break;
|
||||
}
|
||||
[profileArray addObject:[NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:@"cputype",@"CPU Type", [NSNumber numberWithInt:value], visibleCPUType,nil] forKeys:profileDictKeys]];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user