diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-25 22:15:07 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-25 22:15:07 +0300 |
commit | 17441c972bad7d17a6ec2f5b9103a2a5921b45f3 (patch) | |
tree | 465286705f2509b32849bf621ad7d395fe21cefa | |
parent | d61430fbba8436fb93408995c7961929ee67fc77 (diff) |
Fix CPager::Process loop
-rw-r--r-- | src/text/Pager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/text/Pager.cpp b/src/text/Pager.cpp index a9813b18..9e484c29 100644 --- a/src/text/Pager.cpp +++ b/src/text/Pager.cpp @@ -22,6 +22,7 @@ CPager::Process() while (i < NUMPAGERMESSAGES-1) {
if (m_messages[i + 1].m_pText == nil) break;
m_messages[i] = m_messages[i + 1];
+ i++;
}
m_messages[i].m_pText = nil;
if (m_messages[0].m_pText != nil)
|