From 37abe9609dbfa361dff39b361ce15d74b62dd45a Mon Sep 17 00:00:00 2001 From: Stephen Gowen Date: Thu, 7 Dec 2017 14:14:13 -0500 Subject: [PATCH] Whoops, didn't mean to make changes in spine-c --- spine-c/spine-c/src/spine/SkeletonBinary.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/spine-c/spine-c/src/spine/SkeletonBinary.c b/spine-c/spine-c/src/spine/SkeletonBinary.c index 6da478732..d4e06bc25 100644 --- a/spine-c/spine-c/src/spine/SkeletonBinary.c +++ b/spine-c/spine-c/src/spine/SkeletonBinary.c @@ -262,12 +262,10 @@ static spAnimation* _spSkeletonBinary_readAnimation (spSkeletonBinary* self, con unsigned char timelineType = readByte(input); int frameCount = readVarint(input, 1); switch (timelineType) { - case SLOT_ATTACHMENT: - { + case SLOT_ATTACHMENT: { spAttachmentTimeline* timeline = spAttachmentTimeline_create(frameCount); timeline->slotIndex = slotIndex; - for (frameIndex = 0; frameIndex < frameCount; ++frameIndex) - { + for (frameIndex = 0; frameIndex < frameCount; ++frameIndex) { float time = readFloat(input); const char* attachmentName = readString(input); /* TODO Avoid copying of attachmentName inside */