Embed Clara with TextFlow fix for whitespace after newline

This commit is contained in:
Phil Nash 2017-07-20 20:07:28 +01:00
parent b2a4dfcda4
commit 5c3355ad1b
2 changed files with 6 additions and 6 deletions

View File

@ -146,7 +146,7 @@ namespace Catch { namespace clara { namespace TextFlow {
m_pos += m_len;
if( m_pos < line().size() && line()[m_pos] == '\n' )
m_pos += 1;
else
while( m_pos < line().size() && isWhitespace( line()[m_pos] ) )
++m_pos;

View File

@ -144,7 +144,7 @@ namespace clara { namespace TextFlow {
m_pos += m_len;
if( m_pos < line().size() && line()[m_pos] == '\n' )
m_pos += 1;
else
while( m_pos < line().size() && isWhitespace( line()[m_pos] ) )
++m_pos;