Чистка кода

This commit is contained in:
2020-03-30 12:30:37 +03:00
parent 97554275b2
commit 4069aaf315
3 changed files with 4 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ bool Lexer::readUnsafeString()
bool Lexer::readSafeString()
{
if ( m_buffer.size() < m_length + 2 )
if ( m_buffer.size() - m_length < 2 )
{
return( false );
}