summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/statistics/statisticscontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/statistics/statisticscontact.cpp')
-rw-r--r--kopete/plugins/statistics/statisticscontact.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kopete/plugins/statistics/statisticscontact.cpp b/kopete/plugins/statistics/statisticscontact.cpp
index d811e4d2..badaf147 100644
--- a/kopete/plugins/statistics/statisticscontact.cpp
+++ b/kopete/plugins/statistics/statisticscontact.cpp
@@ -225,7 +225,7 @@ void StatisticsContact::commonStatsCheck(const TQString name, TQString& statVar1
*
* Then it is only a question of some calculations.
*
- * <li>Recalculate the average message lenght
+ * <li>Recalculate the average message length
*
* <li>Change last-talk datetime
* </ul>
@@ -248,7 +248,7 @@ void StatisticsContact::newMessageReceived(Kopete::Message& m)
m_lastMessageReceived = currentDateTime;
- // Message lenght
+ // Message length
m_messageLength= (m.plainBody().length() + m_messageLength * m_messageLengthOn)/(1 + m_messageLengthOn);
m_messageLengthOn++;