summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/logic/launch/LogModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/launch/LogModel.cpp b/api/logic/launch/LogModel.cpp
index 869c00f9..579aa654 100644
--- a/api/logic/launch/LogModel.cpp
+++ b/api/logic/launch/LogModel.cpp
@@ -98,7 +98,7 @@ void LogModel::setMaxLines(int maxLines)
return;
}
// if it all still fits in the buffer, just resize it
- if(m_firstLine + m_numLines < maxLines)
+ if(m_firstLine + m_numLines < m_maxLines)
{
m_maxLines = maxLines;
m_content.resize(maxLines);