mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-22 01:36:42 +08:00
Atlas readLine to not skip starting \n.
This commit is contained in:
parent
5bab2830a9
commit
5fbef05423
@ -86,9 +86,8 @@ static int readLine (const char* begin, const char* end, Str* str) {
|
||||
str->begin = nextStart;
|
||||
|
||||
/* Find next delimiter. */
|
||||
do {
|
||||
while (nextStart != end && *nextStart != '\n')
|
||||
nextStart++;
|
||||
} while (nextStart != end && *nextStart != '\n');
|
||||
|
||||
str->end = nextStart;
|
||||
trim(str);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user