fix invalid line endling handling.
Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>pull/502/head
parent
9e87fa178a
commit
bd1168af30
|
@ -62,7 +62,7 @@ bool isSpace( const T in ) {
|
|||
template<class T>
|
||||
inline
|
||||
bool isNewLine( const T in ) {
|
||||
return ( '\n' == in );
|
||||
return ( '\n' == in || ( '\r' == in ) );
|
||||
}
|
||||
|
||||
template<class T>
|
||||
|
|
Loading…
Reference in New Issue