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>
|
template<class T>
|
||||||
inline
|
inline
|
||||||
bool isNewLine( const T in ) {
|
bool isNewLine( const T in ) {
|
||||||
return ( '\n' == in );
|
return ( '\n' == in || ( '\r' == in ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
|
|
Loading…
Reference in New Issue