diff --git a/include/assimp/IOStreamBuffer.h b/include/assimp/IOStreamBuffer.h index 5bcc2671a..9a70ad115 100644 --- a/include/assimp/IOStreamBuffer.h +++ b/include/assimp/IOStreamBuffer.h @@ -258,7 +258,7 @@ bool IOStreamBuffer::getNextDataLine( std::vector &buffer, T continuationT for( ;; ) { if ( continuationToken == m_cache[ m_cachePos ] && IsLineEnd( m_cache[ m_cachePos + 1 ] ) ) { ++m_cachePos; - while (m_cache[m_cachePos] != '\n') { + while ( m_cache[ m_cachePos ] != '\n' ) { ++m_cachePos; } ++m_cachePos;