fix invalid line endling handling.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
pull/502/head
Kim Kulling 2015-02-10 20:46:02 +01:00
parent 9e87fa178a
commit bd1168af30
3 changed files with 493 additions and 493 deletions

View File

@ -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>