瀏覽代碼

Whoops, didn't mean to make changes in spine-c

Stephen Gowen 7 年之前
父節點
當前提交
37abe9609d
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      spine-c/spine-c/src/spine/SkeletonBinary.c

+ 2 - 4
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 */