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

This commit is contained in:
badlogic 2018-11-27 12:22:11 +01:00
parent fdb7902ca7
commit 578062d8f2

View File

@ -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++;
}