Minor cleanup

This commit is contained in:
Jens Ayton 2014-01-03 01:30:23 +01:00
parent f1c0d4584f
commit 305752d319
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ static id sSharedStickHandler = nil;
// By using a function with a shallow gradient at the origin, we can make the stick less sensitive at the centre (and hence // By using a function with a shallow gradient at the origin, we can make the stick less sensitive at the centre (and hence
// easier to make fine adjustments). The functions I've used below are ax^n+bx where a+b=1 and n in an odd power. // easier to make fine adjustments). The functions I've used below are ax^n+bx where a+b=1 and n in an odd power.
- (double) axisTransform: (double)axisvalue; - (double) axisTransform: (double)axisvalue
{ {
if (fabs(axisvalue) < deadzone) return 0.0; if (fabs(axisvalue) < deadzone) return 0.0;

View File

@ -131,7 +131,7 @@ ConstTable gOOGUIScreenIDConstTable = TABLE(sOOGUIScreenIDTableEntries);
ConstTable gOOScanClassConstTable = TABLE(sOOScanClassTableEntries); ConstTable gOOScanClassConstTable = TABLE(sOOScanClassTableEntries);
ConstTable gOOViewIDConstTable = TABLE(sOOViewIDTableEntries); ConstTable gOOViewIDConstTable = TABLE(sOOViewIDTableEntries);
ConstTable gOOShipDamageTypeConstTable = TABLE(sOOShipDamageTypeTableEntries); ConstTable gOOShipDamageTypeConstTable = TABLE(sOOShipDamageTypeTableEntries);
ConstTable gOOLegalStatusReasonConstTable = TABLE(sOOLegalStatusReasonTableEntries); ConstTable gOOLegalStatusReasonConstTable = TABLE(sOOLegalStatusReasonTableEntries);
static void InitTable(JSContext *context, ConstTable *table); static void InitTable(JSContext *context, ConstTable *table);