summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/statistics/statisticscontact.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:15:54 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-05 13:15:54 -0500
commit8f8f58d043eacff188d65eae2112dfa57e49295e (patch)
treee82d01bc0091b148caa15c1e84f15ed82613b01e /kopete/plugins/statistics/statisticscontact.cpp
parent391ec4487de7f20cbf2affe8e3f3df070c1dab30 (diff)
downloadtdenetwork-8f8f58d043eacff188d65eae2112dfa57e49295e.tar.gz
tdenetwork-8f8f58d043eacff188d65eae2112dfa57e49295e.zip
Fix typos.
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++;