Browse Source

Formatting.

Mario Zechner 3 years ago
parent
commit
316c114855
1 changed files with 4 additions and 4 deletions
  1. 4 4
      spine-c/spine-c/src/spine/AnimationState.c

+ 4 - 4
spine-c/spine-c/src/spine/AnimationState.c

@@ -595,10 +595,10 @@ _spAnimationState_setAttachment(spAnimationState *self, spSkeleton *skeleton, sp
 
 
 /* @param target After the first and before the last entry. */
 /* @param target After the first and before the last entry. */
 static int binarySearch1(float *values, int valuesLength, float target) {
 static int binarySearch1(float *values, int valuesLength, float target) {
-    for (int i = 1; i < valuesLength; i++) {
-        if (values[i] > target) return (int) (i - 1);
-    }
-    return (int) valuesLength - 1;
+	for (int i = 1; i < valuesLength; i++) {
+		if (values[i] > target) return (int) (i - 1);
+	}
+	return (int) valuesLength - 1;
 }
 }
 
 
 void _spAnimationState_applyAttachmentTimeline(spAnimationState *self, spTimeline *timeline, spSkeleton *skeleton,
 void _spAnimationState_applyAttachmentTimeline(spAnimationState *self, spTimeline *timeline, spSkeleton *skeleton,