mirror of https://github.com/bkaradzic/bgfx
Replaced eolLF with normalizeEolLf.
This commit is contained in:
parent
1def5343e6
commit
53dfd981da
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue