From e438e63c94a329b057620d1f79cab63f26493d31 Mon Sep 17 00:00:00 2001 From: masakih Date: Sun, 10 Jul 2016 10:25:17 +0900 Subject: [PATCH] =?utf8?q?=E6=94=B9=E4=BF=AE=E5=B7=A5=E5=BB=A0=E3=83=A1?= =?utf8?q?=E3=83=8B=E3=83=A5=E3=83=BC=E3=81=A6=E3=82=99=E5=86=85=E5=AE=B9?= =?utf8?q?=E3=81=8B=E3=82=99=E4=B8=8D=E6=98=8E=E3=81=AA=E7=8A=B6=E6=85=8B?= =?utf8?q?=E3=81=A6=E3=82=99=E3=82=82=E8=A1=A8=E7=A4=BA=E5=87=BA=E6=9D=A5?= =?utf8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- KCD/HMStrengthenListItemCellView.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/KCD/HMStrengthenListItemCellView.m b/KCD/HMStrengthenListItemCellView.m index 0e10eddf..8d1e5f75 100644 --- a/KCD/HMStrengthenListItemCellView.m +++ b/KCD/HMStrengthenListItemCellView.m @@ -90,6 +90,7 @@ { NSInteger screw = self.requiredEquipment01.screw.integerValue; if(screw == 0) return nil; + if(screw == -1) return @"-/-"; return [NSString stringWithFormat:@"%@/%@", self.requiredEquipment01.screw, self.requiredEquipment01.ensureScrew]; } @@ -97,6 +98,7 @@ { NSInteger screw = self.requiredEquipment02.screw.integerValue; if(screw == 0) return nil; + if(screw == -1) return @"-/-"; return [NSString stringWithFormat:@"%@/%@", self.requiredEquipment02.screw, self.requiredEquipment02.ensureScrew]; } @@ -104,6 +106,7 @@ { NSInteger screw = self.requiredEquipment03.screw.integerValue; if(screw == 0) return nil; + if(screw == -1) return @"-/-"; return [NSString stringWithFormat:@"%@/%@", self.requiredEquipment03.screw, self.requiredEquipment03.ensureScrew]; } -- 2.11.0