charmap newline minor fix (#21)

This commit is contained in:
biosp4rk 2024-07-12 08:32:39 -07:00 committed by GitHub
parent c451b65c94
commit 9d5361230d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -326,7 +326,7 @@ void CharmapReader::RemoveComments()
}
else if (m_buffer[pos] == '@')
{
while (!AcceptNewline() && m_buffer[pos] != 0)
while (m_buffer[pos] != '\n' && m_buffer[pos] != 0)
m_buffer[pos++] = ' ';
}
else