Browse Source

[c] Closes #1213, don't trim end of atlas file line.

badlogic 6 years ago
parent
commit
578062d8f2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      spine-c/spine-c/src/spine/Atlas.c

+ 2 - 2
spine-c/spine-c/src/spine/Atlas.c

@@ -70,8 +70,8 @@ static void trim(Str* str) {
 		(str->begin)++;
 	if (str->begin == str->end) return;
 	str->end--;
-	while (isspace((unsigned char)*str->end) && str->end >= str->begin)
-		str->end--;
+	/*while (isspace((unsigned char)*str->end) && str->end >= str->begin)
+		str->end--;*/
 	str->end++;
 }