From 6b884fab29894cfc37786d652b9a6c704202c62c Mon Sep 17 00:00:00 2001 From: masakih Date: Thu, 27 Jul 2017 20:35:41 +0900 Subject: [PATCH] =?utf8?q?=E5=87=A6=E7=90=86=E3=82=92=E7=B0=A1=E7=B4=A0?= =?utf8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- KCD/StrokeTextFieldCell.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/KCD/StrokeTextFieldCell.swift b/KCD/StrokeTextFieldCell.swift index 6f06618a..ab3a0960 100644 --- a/KCD/StrokeTextFieldCell.swift +++ b/KCD/StrokeTextFieldCell.swift @@ -70,11 +70,7 @@ final class StrokeTextFieldCell: NSTextFieldCell { let nsGlyph = UnsafeMutablePointer.allocate(capacity: range.length) - // TODO: use forEach - for i in 0...range.length { - - nsGlyph[i] = NSGlyph(glyph[i]) - } + (0..