mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +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)++;
|
||||
if (str->begin == str->end) return;
|
||||
str->end--;
|
||||
/*while (isspace((unsigned char)*str->end) && str->end >= str->begin)
|
||||
str->end--;*/
|
||||
while (((unsigned char)*str->end == '\r') && str->end >= str->begin)
|
||||
str->end--;
|
||||
str->end++;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user