mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[c] Backport of atlas parsing fix. See #1213.
This commit is contained in:
parent
ef5f68d8fa
commit
b379841e6c
@ -70,8 +70,8 @@ static void trim(Str* str) {
|
|||||||
(str->begin)++;
|
(str->begin)++;
|
||||||
if (str->begin == str->end) return;
|
if (str->begin == str->end) return;
|
||||||
str->end--;
|
str->end--;
|
||||||
/*while (isspace((unsigned char)*str->end) && str->end >= str->begin)
|
while (((unsigned char)*str->end == '\r') && str->end >= str->begin)
|
||||||
str->end--;*/
|
str->end--;
|
||||||
str->end++;
|
str->end++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user