diff options
Diffstat (limited to 'src/chat.cpp')
-rw-r--r-- | src/chat.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/chat.cpp b/src/chat.cpp index 818e261d7..38c0332bf 100644 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -708,11 +708,10 @@ ChatBuffer& ChatBackend::getRecentBuffer() return m_recent_buffer; } -EnrichedString ChatBackend::getRecentChat() +EnrichedString ChatBackend::getRecentChat() const { EnrichedString result; - for (u32 i = 0; i < m_recent_buffer.getLineCount(); ++i) - { + for (u32 i = 0; i < m_recent_buffer.getLineCount(); ++i) { const ChatLine& line = m_recent_buffer.getLine(i); if (i != 0) result += L"\n"; |