changeset 139:70808ff799e6

* white space cleaup no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sun, 13 Sep 2009 18:16:43 +0000
parents c11c0da01bbc
children 678054e2bc02
files api/Objects/UnitEquipmentNumericForRatioSelection.cs
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/api/Objects/UnitEquipmentNumericForRatioSelection.cs	Sun Sep 13 18:00:52 2009 +0000
+++ b/api/Objects/UnitEquipmentNumericForRatioSelection.cs	Sun Sep 13 18:16:43 2009 +0000
@@ -23,8 +23,8 @@
 		
 		protected override bool IsInRange (double newValue)
 		{
-			int minLimit = (int) IBBMath.Round(EquipmentForUnit.Size * EquipmentItem.MinPercentage / 100, EquipmentItem.RoundNumberUp);
-			int maxLimit = (int)IBBMath.Round(EquipmentForUnit.Size * EquipmentItem.MaxPercentage / 100, EquipmentItem.RoundNumberUp);
+			int minLimit = (int) IBBMath.Round(EquipmentForUnit.Size * EquipmentItem.MinPercentage / 100, EquipmentItem.RoundNumberUp);
+			int maxLimit = (int) IBBMath.Round(EquipmentForUnit.Size * EquipmentItem.MaxPercentage / 100, EquipmentItem.RoundNumberUp);
 			newValue = (newValue == WarFoundryCore.INFINITY ? EquipmentForUnit.Size : newValue);
 			bool isInRange = (minLimit <= newValue) && (newValue <= maxLimit);
 			return isInRange && IsWholeNumber(newValue);