Fix CPager::Process loop

This commit is contained in:
Sergeanur 2019-10-25 22:15:07 +03:00
parent d61430fbba
commit 17441c972b

View File

@ -22,6 +22,7 @@ CPager::Process()
while (i < NUMPAGERMESSAGES-1) { while (i < NUMPAGERMESSAGES-1) {
if (m_messages[i + 1].m_pText == nil) break; if (m_messages[i + 1].m_pText == nil) break;
m_messages[i] = m_messages[i + 1]; m_messages[i] = m_messages[i + 1];
i++;
} }
m_messages[i].m_pText = nil; m_messages[i].m_pText = nil;
if (m_messages[0].m_pText != nil) if (m_messages[0].m_pText != nil)