Replaced eolLF with normalizeEolLf.

This commit is contained in:
Branimir Karadžić 2018-10-28 20:48:34 -07:00
parent 1def5343e6
commit 53dfd981da
1 changed files with 4 additions and 2 deletions

View File

@ -652,8 +652,10 @@ namespace bgfx
int32_t len = bx::strLen(_input)+1;
char* temp = new char[len];
bx::eolLF(temp, len, _input);
m_input += temp;
bx::StringView normalized = bx::normalizeEolLf(temp, len, _input);
std::string str;
str.assign(normalized.getPtr(), normalized.getTerm() );
m_input += str;
delete [] temp;
fppTag* tagptr = m_tagptr;